This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Usernames are used everywhere on the internet. | |
They are what give users a unique identity on their favorite sites. | |
You need to check all the usernames in a database. | |
Here are some simple rules that users have to follow when creating their username. | |
1) Usernames can only use alpha-numeric characters. | |
2) The only numbers in the username have to be at the end. | |
There can be zero or more of them at the end. Username cannot start with the number. |