Regular Expressions 101

Library entries

Validate City Names

Vote

1

Regular Expression
javascript

/
^\s*[a-zA-Z]{1}[0-9a-zA-Z][0-9a-zA-Z '-.=#/]*$
/
gmi

Description

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