URI

Hello Every One Can any one Explain URI::Regexp in Rails . I found one thing for validation of website URI::Regexp(%w(http https))

please Explain what i URI

BalaRaju Vankala wrote in post #1078613:

Hello Every One                 Can any one Explain URI::Regexp in Rails . I found one thing for validation of website URI::Regexp(%w(http https))                 please Explain what i URI

That expression simply matches URIs with either the http or https scheme:

http://www.example.com -- matches https://www.example.com -- matches ftp://www.example.com -- does not match

http://stdlib.rubyonrails.org/libdoc/uri/rdoc/classes/URI.html#M009247

Hey Thank you …