Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[a-z@-Z0-9?().,'+ /:@-](?: ?[a-z@-Z0-9?().,'+ /:@-]+)*$
/

Description

This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-

Submitted by anonymous - a year ago (Last modified a year ago)