Your query actually should be:
select email from subscribes where email regexp "[@ ]+@([a-zA-Z0-9-]+.)+([a-zA-Z0-9-]{2}|net|com|gov|mil|org|edu|int)$";
Chris Blessing wrote:
Do you happen to have the syntax for doing this within a sql statement?
Like:
select email from subscribes where regexp "[@ ]+@([a-zA-Z0-9-]+.)+([a-zA-Z0-9-]{2}|net|com|gov|mil|org|edu|int)$";
I wonder if that would actually work now that I think about it...