Java Regex 3 - Username Checker

Problem Name:
Java Regex 3 - Username Checker
Site:HackerRank
Links:
Tags:
Problem setters: