Add a regex tester for java