Check is string is a valid url

  • Thread starter Thread starter Gonçalo Boléo
  • Start date Start date
whether it *could possibly* be valid, or whether it *is* valid?
To get the regex for it, add a RegularExpressionValidator to a web project
and there's a pre-set list of regexes in there, one of them is a URL
template.
If you want to check if it *is* valid, then you'll have to send a request
and see if you get anything back.
 
Back
Top