Regular Expressions 101

Community Patterns

Why is this not matching the closest <A tag?

1

Regular Expression
PCRE (PHP <7.3)

/
<a (.*?)test(.*?)<\/a>
/
im

Description

no description available

Submitted by Daz - 10 years ago