Kibana Query for String Pattern Match

In Kibana search what would be best practice to search for string patterns. My use case here is How would one go about searching in a large txt attribute. I have tried query patterns as myAttr1: attrVal1 AND sDetails: CustomStringPattern

Using a Pattern causes the Kibana UI to become unresponsive. Any other recommendations to run these string search queries.

Is the UI unresponsive or the backend?

Backend. I believe it timesout trying to do a * based pattern match.