Use string methods rather than regexes. Easier to modify