Regular Expressions 101

Library entries

Href parse

Vote

2

Regular Expression
javascript

/
<a.+?\s*href\s*=\s*["\']?([^"\'\s>]+)["\']\s*title=["\'](\w+)["\']\s*[>](\w*)[<]?
/
gi

Description

Loading markdown...
Submitted by chrysls - 6 years ago