Regular Expressions 101

Community Patterns

Community Library Entry

-1

Regular Expression
PCRE (PHP <7.3)

/
&(#(x[[:xdigit:]]+|[[:digit:]]+)|[[:alnum:]]+);
/
g

Description

HTML CODE given by (hex number   OR number &#160 OR name  )

Submitted by novy - 9 years ago