Regular Expressions MySQL Tutorial

mysql>
mysql> SELECT 'abcda' REGEXP '^[^a-dXYZ]+$';
+-------------------------------+
| 'abcda' REGEXP '^[^a-dXYZ]+$' |
+-------------------------------+
|                             0 |
+-------------------------------+
1 row in set (0.00 sec)
mysql>