Skip to content

Instantly share code, notes, and snippets.

@manajay
Created June 18, 2019 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manajay/9b1b82d472c505fe60e3ee8ca41267e6 to your computer and use it in GitHub Desktop.
Save manajay/9b1b82d472c505fe60e3ee8ca41267e6 to your computer and use it in GitHub Desktop.
url-match-pattern
@"((http[s]{0,1}|ftp)://[a-zA-Z0-9\\.\\-]+\\.([a-zA-Z]{2,4})(:\\d+)?(/[a-zA-Z0-9\\.\\-~!@#$%^&*+?:_/=<>]*)?)|(www.[a-zA-Z0-9\\.\\-]+\\.([a-zA-Z]{2,4})(:\\d+)?(/[a-zA-Z0-9\\.\\-~!@#$%^&*+?:_/=<>]*)?)";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment