Update and rename Main.java to RegularExpression.java