I'm attempting to search records by passing in a squashed version of a column - If I pass in "Martin" I would expect the matching "M-@art*in" would be returned. This is something that REGEX_REPLACE seems to handle well in MySQL 8.0+ and I've seen many recommendations for User Defined Functions (UDFs) that can do the same job pre-8.0. My supervisor doesn't want to rely on UDFs, and so I am wondering if there are any other options?
Any help is greatly appreciated.