Understanding the Regex code I have been given | XM Community
Skip to main content
Question

Understanding the Regex code I have been given

  • January 20, 2020
  • 1 reply
  • 19 views

Hi, Qualtrics support suggested I post here. I'm setting up a survey that changes a password and I'm using regex to authenticate. Someone has given me this string and I need someone else to translate it for me so I can understand what it is looking for, so I can tell people what they need to include in their new password. Can anyone help translate this string? The string is: /^(?=.*[A-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[$@])(?!.*[iIoO])\\S{8,12}$/ Many thanks in advance for any assistance you can give.

1 reply

dobra021
Level 4 ●●●●
Forum|alt.badge.img+37
  • Level 4 ●●●●
  • 64 replies
  • January 22, 2020
There are a number of tools online that will help to explain regex with syntax highlighting and examples. For instance, https://regexr.com/. You can enter your string there to help translate the expression.

Leave a Reply