A document to hold useful regular expressions that I have pulled together for things:
RegExr is a great and very handy online tool for checking regular expression matches: RegExr
A regex to validate a password string to ensure it does not contain dangerous punctuation characters and is less than 20 characters long. useful for Stingray Application Firewall form field protection in login pages:
A regex to check that a password has at least one Uppercase, Lowercase, Numbers and Punctuation from the approved list and is at least 8 but less than 20 characters.