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