MySQL Regular Expression Functions
This page lists the Regular Expression functions and operators in MySQL.
-
NOT REGEXP
The MySQLNOT REGEXP
operator returns whether a string mismatches a regular expression. -
NOT RLIKE
The MySQLNOT RLIKE
operator returns whether a string mismatches a regular expression. -
REGEXP
The MySQLREGEXP
operator returns whether a string matches a regular expression. -
REGEXP_INSTR
The MySQLREGEXP_INSTR()
function searches a string for a substring that match a specified regular expression and returns the index of the substring. -
REGEXP_LIKE
The MySQLREGEXP_LIKE()
function checks whether a string matches a regular expression. -
REGEXP_REPLACE
The MySQLREGEXP_REPLACE()
function replaces each substring of the text String that matches the given regular expression with the given replacement. -
REGEXP_SUBSTR
The MySQLREGEXP_SUBSTR()
function extracts a substring from a string that matches the specified regular expression and returns it. -
RLIKE
The MySQLRLIKE
operator returns whether a string matches a regular expression.