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

Code Example 1

select * from user where first_name REGEXP '^john$';

Learn ReactJs, React Native from akashmittal.com