Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2023-09-27 22:04
Updated·2023-10-04 16:44
Flavor·ECMAScript (JavaScript)

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

Description

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

Submitted by anonymous