Working on a splitter method using regex.