Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
<a (.*)href="([^"]*)"(.*)>(.*)<\/a>
/
gm

Description

it took me quite some time to figure out. I hope it'll be helful to someone else.

Submitted by anonymous - 2 years ago