RegEx3.java

Code