Regex app which responds to inputs in various ways depending on the type of string passed to it.