Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
((?![a-zA--ž\d\s\.,'&/-]).)
/
gm

Description

Do the opposite so we can test for invalid characters

Submitted by anonymous - 2 years ago