Last Updated: February 25, 2016
·
1.311K
· theatlasroom

Basic hyperlink regex

A quick and dirty regex pattern to match all the attributes of a hyperlink and the content of the link in 2 seperate groups.

<a([\s\w=":/\.?]*)>(.+)</a>