Regular Expressions 101

Library entries

Captures composed and simple Names, with 1st capital Letter at each subname, and following lower letters

Vote

0

Regular Expression
javascript

/
^[A-Z\u00C0-\u00D6\u00D8-\u00DD][a-z\u00E0-\u00F6\u00F8-\u00FF]*(?:-[A-Z\u00C0-\u00D6\u00D8-\u00DD][a-z\u00E0-\u00F6\u00F8-\u00FF]*)?$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago