Regular Expressions 101

Library entries

href parse v2

Vote

0

Regular Expression
javascript

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

Description

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