AnsweredAssumed Answered

Regular Expression Help

Question asked by nyeman17 on Feb 19, 2016
Latest reply on Mar 11, 2016 by

Hello all,


I recently was thrown back in to the RegEx world( haven't used it since freshman year of college). I pretty much forgot everything so I need some help/guidance.


A)- We have this system that make everyone change their password frequently. This system also has some annoying requirement:

  1. Total length of password = 8---(Regex in line 5 solves this)
  2. No special characters
  3. Cannot have repeating characters or numbers
  4. Can not have ascending or descending consecutive numbers  123, 321, 567,
  5. Must have at least one capital and at least one number----- I have this regex for th- (?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,8}$


B) Is there a way to create one long regex to validate all of the above? If so, I can move on to the next set of validation. Which I can do in nintex forms:

  • The password cannot be too similar to old password
  • cannot have your name


Here I will create 3 columns

  • First name
  • Last Name
  • Previous password

The validation from A) will be checked to first name, last name and previous password.


I have been trying to figure this out on my own but I am throwing in the towel.