Regex is good, but it's best to keep simple