Variable formatted as regex & MySQL double-escaping of backslashes

Hi @carlosabalde

Not sure but maybe this solution will be of some use?