Can you match a regular expression in Creator?

Can you match a regular expression in Creator?

I know that search and replace will use regular expressions. However, I'd like to use a regexp in an if statement, just to see if something matches the regular expression without doing any changes with the expression. Is that possible?