Saturday 20 May 2017

What is regexp in mysql ?

MySQL REGEXP performs a pattern match of a string expression against a pattern. The pattern is supplied as an argument.

If the pattern finds a match in the expression, the function returns 1, else it returns 0.

If either expression or pattern is NULL, the function returns NULL.

Syntax: expr REGEXP pattern

No comments:

Post a Comment

Advertisement

Advertisement