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
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Regex
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#