Regular Expressions 101

Library entries

First Name with special characters, optional hyphen

Vote

0

Regular Expression
javascript

/
^([\u00C0-\u017Fa-zA-Z]{2,}(?:[-]?[\u00C0-\u017Fa-zA-Z]{2,}))$
/
gm

Description

Loading markdown...
Submitted by Jeff Zinn - 2 months ago