You are viewing a single comment's thread. Return to all comments →
This is my code:
String pattern = "^[a-zA-Z][\\w]{7,29}$";
^[a-zA-Z] = first word
[\w] = any character
{7,29}$ = number of words
Seems like cookies are disabled on this browser, please enable them to open this website
Valid Username Regular Expression
You are viewing a single comment's thread. Return to all comments →
This is my code:
^[a-zA-Z] = first word
[\w] = any character
{7,29}$ = number of words