RegEx2.java

Code