add regex

adding regex util classes