Last Updated: February 25, 2016
·
1.397K
· 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>

Written by Ezekiel Kigbo

Recommend
Say Thanks
Update Notifications Off
Respond