Create RegexFormatter.java

added regex formatter for formatted text fields.