Filter Not working on contains condition

I’m encountering an issue with the string filter in our database query. Specifically, it’s not working as expected with the “contains” condition for strings formatted like “STLMT\TFE*******\TFE******-\3*****”. Also other conditions like “<>,=” is working fine but only having problem with “Contains” condition

Could you please assist in resolving this?