Use an alternative to sregex.