Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[^0-9a-zA-Z]+
/
gm

Description

Remove all special chars from string

Submitted by binary_fm - 9 years ago