RegEx flags on iOS 13 Shortcuts

Hey guys,
Is it possible somehow to use flags in “match text” action on iOS 13 Shortcuts ?
i.e: /(\d[2])/g or /i?

Yes. Shortcuts uses the ICU flavor of regex. The flags are in the table Regular Expression Operators

1 Like

How do you invoke these flags in Shortcuts?

From the linked to guide:

Here’s an example of using the multiline flag.

Thanks! The trick is to put the flag at the beginning of the expression, not the end.