use a regex (that actually works!)