Regular Expressions 101

Community Patterns

Regex for a name

1

Regular Expression
ECMAScript (JavaScript)

/
[A-z]*(\s[A-z]*)*
/

Description

This javascript reqular Expression will match any name.

Submitted by noby nirmjal - 8 years ago