Adds the ability to use a regex to define the seperator