Collections:
Using Regular Expression with REGEXP in MySQL
How To Use Regular Expression in Pattern Match Conditions in MySQL?
✍: FYIcenter.com
If you have a pattern that is too complex for LIKE to handle, you can use the regular expression pattern condition: REGEXP. The following tutorial exercise provides you some good examples:
SELECT 'FYICenter.com' REGEXP '.*fyi.*' FROM DUAL; 1 SELECT 'FYICenter.com' REGEXP '.*com$' FROM DUAL; 1 SELECT 'FYICenter.com' REGEXP '^F.*' FROM DUAL; 1
⇒ Using CASE Expression in MySQL
⇐ Using LIKE Conditions in MySQL
2018-03-24, 2969🔥, 0💬
Popular Posts:
How To Insert New Line Characters into Strings in SQL Server Transact-SQL? If you want to break a st...
How Many Groups of Data Types in MySQL? MySQL support 3 groups of data types as listed below: String...
How Many Groups of Data Types in MySQL? MySQL support 3 groups of data types as listed below: String...
How To Generate Random Numbers with the RAND() Function in SQL Server Transact-SQL? Random numbers a...
What Happens to an Arithmetic Operation with Two Different Data Types in SQL Server Transact-SQL? Wh...