I am migrating from mysql to MS SQL server. I need to re-factor the below query to be compatible with sql server
SELECT email
FROM emailexcursions
WHERE email NOT REGEXP '^[_A-Za-z0-9-]+(\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*((\.[A-Za-z]{2,}){1}$)'
REGEXP is not available in sql server, does anyone know a workaround for this?