Skip to main content

When creating a policy to detect email addresses, I used the following regular expression:
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}

However, the string "csv test" triggered a detection, even though it does not contain an "@" symbol and therefore should not match the expression above.

Is there any limitation or specific behavior in how regular expressions are interpreted on the Netskope side that might explain this?

Hi,

 

I'm testing the following regex (a modified version of the one you're using) directly in the Netskope validator, and it seems to correctly detect in several tests, as shown in the image.

 

RegEx: ^Âa-zA-Z0-9]+@]a-zA-Z0-9]+\.+a-zA-Z]{2,}$

 

 

Regards!


Reply