Regex and Sensitive Data Policies | Experience Community
Skip to main content

Regex and Sensitive Data Policies

  • Nov 10, 2022 12:07 PM UTC
  • 1 reply
  • 108 views

vgayraud
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+68
  • QPN Level 8 ●●●●●●●●

I'm trying to use a negative lookahead in a regex expression in the sensitive data policy and I'm getting an invalid Regex error.
Can anyone confirm if they are indeed forbidden? It is quite hard to find documentation on what Regex engine Qualtrics uses.
Thanks!

1 reply

vgayraud
QPN Level 8 ●●●●●●●●
Forum|alt.badge.img+68
  • Author
  • QPN Level 8 ●●●●●●●●
  • Nov 17, 2022 1:05 PM UTC

Maybe a bit more details on what's happening would help. It seems that negative lookaheads are accepted in the survey platform but not in the SDP.
This very simple regex is working as intended in the survey platform but not in the SDP :

\\ba(?!hello)\\b

a.pngb.png