pattern. If yes, 1 is returned. Otherwise, 0 is returned. NULL is returned if any of the input parameter is NULL.
regexp() supports more complex matching conditions than like().
Syntax
Parameters
-
expr: the string expression. The supported data type is VARCHAR. -
pattern: the pattern to match. The supported data type is VARCHAR.
Return value
Returns a BOOLEAN value.Examples
Text