Hi @andremacola
That’s a good solution too, and probably more efficient than querying with a regex.
I don’t see REGEXP in the WP codex, but it’s available. Looks like they added it within the past year, so perhaps it hasn’t made the docs yet. I’m running WP 3.9.2.
Cheers