Create regex_functions

Does several functions with certain regex's.