use a regular expression. @adamrp, do you know a quick one here?