Skip to content

Instantly share code, notes, and snippets.

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 Artisan-Asad/64abd663e41e91c98fbc40bf95e8aa75 to your computer and use it in GitHub Desktop.
Save Artisan-Asad/64abd663e41e91c98fbc40bf95e8aa75 to your computer and use it in GitHub Desktop.
Arbitrary regular expression to test if a string starts with a URL
'|^http[s]?://|'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment