Skip to content

Instantly share code, notes, and snippets.

@killerbytes
Created August 8, 2016 06:08
Show Gist options
  • Save killerbytes/1e7c1c22abc4b83f460b182fb1fe3ab6 to your computer and use it in GitHub Desktop.
Save killerbytes/1e7c1c22abc4b83f460b182fb1fe3ab6 to your computer and use it in GitHub Desktop.
http://rubular.com/r/oFpzy43wUg
((?:[a-z][\w-]+:(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment