Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
&(?:[a-z\d]+|#\d+|#x[a-f\d]+)
/
g

Description

Matches HTML entities like <

Submitted by anonymous - 9 years ago