in reply to Re^2: Regular expression to check for qwerty sequence in a password
in thread Regular expression to check for qwerty sequence in a password

I use the \0 as a marker or separator between the two sections of the string' Then I match for a three letter sequence that occurs before the marker, some characters, the marker, some characters, and finally the exact three letter sequence that was matched on the left of the marker. If the regex can match, then there is a three letter sequence in the password that matches exactly three keyboard letters in a row.

  • Comment on Re^3: Regular expression to check for qwerty sequence in a password