Mysql 8 regex code example Example: mysql regexp match word SELECT * FROM table WHERE keywords REGEXP '[[:<:]]rid[[:>:]]'