I put together this regex code to look for digits that are either 8-15 digits long, or 17 digits long, regardless of if there’s words touching it. (Apparently I'm unable to paste other than as an image in this forum, my apologies)
I set up the logic like this because there was a 9 digit number that came through that I thought should have been caught in the SSN masking logic. On further investigation, Qualtrics' SSN logic requires spaces before and after the number to mask it:
My code passes logic tests in regex101.com and works how I want it to, see below. But when I put the code to create a new topic in the sensitive data policy in Qualtrics, it says: "Regex is either invalid or too long". Why is Qualtrics not accepting this Regex?



Regex to mask Account number - works in regex101.com, but not in Qualtrics
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

