how to write regex pattern code example Example: Define REGEXP? REGEXP is a pattern match in which matches pattern anywhere in the search value.