📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

NOT REGEXP



Returns 1 if the string expr doesn't match the regular expression specified by the pattern pat, 0 otherwise.

Syntax

<expr> NOT REGEXP <pattern>

Examples

SELECT 'datalake' NOT REGEXP 'd*'; +------------------------------+ | ('datalake' not regexp 'd*') | +------------------------------+ | 0 | +------------------------------+

Was this page helpful?