No longer using regexs as I can't figure out how to use them correctly.