Skip to content

Instantly share code, notes, and snippets.

@MichaelCurrin
Last active June 23, 2020 14:50
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 MichaelCurrin/ccea6acad9dfc869444736dcf744d1b3 to your computer and use it in GitHub Desktop.
Save MichaelCurrin/ccea6acad9dfc869444736dcf744d1b3 to your computer and use it in GitHub Desktop.
Extract URLs by regex
Welcome to RegExr 0.3b, an intuitive tool for learning, writing, and testing Regular Expressions. Key features include:
www.google.com
* real time results: shows results as you type
* code hinting: roll over your expression to see info on specific elements
* detailed results: roll over a match to see details & view group info below
* built in regex guide: double click entries to insert them into your expression
* online & desktop: regexr.com or download the desktop version for Mac, Windows, or Linux
* save your expressions: My Saved expressions are saved locally
* search Comm https://google.us.edi?34535/534534?dfg=g&fg unity expressions and add your own
* create Share Links to send your expressions to co-workers or link to them on Twitter or your blog [ex. http://RegExr.com?2rjl6]
Built by gskinner.com with Flex 3 [adobe.com/go/flex] and Spelling Plus Library for text highlighting [gskinner.com/products/spl].

source

Regex pattern:

[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment