Regular Expressions 101

Library entries

Only first name and last name

Vote

1

Regular Expression
javascript

/
^(?=[a-zA-Z\s]{2,25}$)(?=[a-zA-Z\s])(?:([\w\s*?])\1?(?!\1))+$
/

Description

Loading markdown...
Submitted by ranst - 5 years ago