Match any character (including carriage return and newline):. : Any Character « Regular Expressions « MySQL Tutorial






mysql>
mysql> SELECT 'AAA' REGEXP '^A.*$';
+----------------------+
| 'AAA' REGEXP '^A.*$' |
+----------------------+
|                    1 |
+----------------------+
1 row in set (0.00 sec)

mysql>
mysql>
mysql> SELECT 'A\r\nB' REGEXP '^A.*$';
+-------------------------+
| 'A\r\nB' REGEXP '^A.*$' |
+-------------------------+
|                       1 |
+-------------------------+
1 row in set (0.00 sec)

mysql>








24.4.Any Character
24.4.1.Match any character (including carriage return and newline):.