Undo usage of regular expression