Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-05-25 05:06
Flavor·ECMAScript (JavaScript)

/
^[a-zA-Z\s]+$
/
Open regex in editor

Description

It will accepts the name with spaces with no limitation and we can also use same for city.

Submitted by Pravallika Chowdary