Case sensitivity Regex does not seem to work

Hi,

My RPA regex commands appear not to work at all in Express.
I’m doing a simple check for text disregarding case sensitivity.
I’m writing this as such: (?i)STAT(?-i)
Should this not suffice or am I meant to write this differently?

In practice, it only picks up the literal matches. anything like ‘statistics’ or ‘stats’ is being ignored.

Do you want to check for any string that contains substring stat?

Then you need to use regex (?i).*STAT.*(?-i)
Your current regex looks for an exact match only.