Regex is way less ugly