Regular Expressions 101

Library entries

US City Validation

Vote

2

Regular Expression
javascript

/
^[a-zA-Z]+(?:[\s-'.&/][a-zA-Z]+)*(?:[.|\s])?(?:[\(a-z\)])*$
/

Description

Loading markdown...
Submitted by Jagadesh - 6 years ago