Java valid username regex expression solution of hackerrank

visit shbcf.ru