Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(((((([a-zA-Z]){1,})[ ]){1,})((([a-zA-Z]{1,})|([0-9]{1,})){1}))|(([a-zA-Z]{1,}){1}))$
/

Description

verify if a string can be use in a username pattern for my project

Submitted by Feloem Goetia - 7 years ago