Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[A-Z@~`!@#$%^&*()_=+\\';:"\/?>.<,-]*$
/
i

Description

allow only alpabets digits and special characters

Submitted by anonymous - 9 years ago