Regular Expressions 101

Community Patterns

1...34567...124

find all url in <a> in html

1

Regular Expression
PCRE2 (PHP >=7.3)

/
<a[^<]*href="([^"]+)"
/
gm

Description

for tp

Submitted by anonymous - 2 years ago