Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save Artisan-Asad/64abd663e41e91c98fbc40bf95e8aa75 to your computer and use it in GitHub Desktop.

Select an option

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