Hi All,
Hope you can assist. Have a faily straight forward requirement to add some Regex to a e-mail field too ensure that the entry is correct. However I get the following error when entering my formula:

This is being entered on the OnChange Type for the text field.

and here is a sample of the formula I'm entering:
If
(
IsMatch(OriginatorEmail.Text,"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$"),
true,
false
)
Any assistance would be appreciated, I am a newb on PowerApps 😞