I have a MySQL query
select query from HR_Health_Logs where query REGEXP 'CPU|MAC|PC|abacus|calculator|laptop|mainframe|microcomputer|minicomputer|machine';
Except that the regular expression is much longer and contains many synonyms and spelling errors.
I need to cut out this short one and have a table with all synonyms and spelling errors so that I can avoid this very long query. So I'm looking for something like
select query from HR_Health_Logs where query REGEXP '**HAVE A TABLE WITH ALL MY SYNONYMS AND MISSPELLINGS SEARCHED HERE**';
source share