Check out example codes for "mysql regexp match word". It will help you in understanding the concepts better.

Code Example 1

SELECT *
FROM table 
WHERE keywords REGEXP '[[:<:]]rid[[:>:]]'

Learn ReactJs, React Native from akashmittal.com