Dont use regexes, they are slow and complicate searching in memory