Create regular expression matching.java