Regular Expressions 101

Community Patterns

Community Library Entry

3

Regular Expression
ECMAScript (JavaScript)

/
^[a-zA-Z]+([A-Z][a-z]+)+$
/
g

Description

See if a string is in CamelCase format

Submitted by Tonny Xu - 10 years ago