- 8 Week Game
- About Me
- Quick Ref
Archive for category Regex
Regex has always been one of those things that just never sticks in my mind, so imagine my horror when i found i had to adapt an existing regex we have for validating passwords for users who are creating accounts. However I found a handy article explaining regex validation for password’s.
In this third example:
* Must be at least 10 characters
* Must contain at least one one lower case letter, one upper case letter, one digit and one special character
* Valid special characters are – @#$%^&+=
As you can see in the regex, the list of special characters is configurable.
Just found an awesome tool allowing Regex noob’s such as myself, to build up Regex patterns, using only the sample data that you wish to match- go download Regulazy here!
Some handy regex patterns for grabbing different bits of gubbins and stuff;
HTML Tags except for the BR tag: