Simple Regex Utility for Java