changing regexes to string split