chapter31

development in a land far far away…

at the moment

History is not what happened. History is what was written down.

A nice little reg exp from the ColdFusion Cookbook when you need to make sure a users new password (which they are setting) contains at least 1 letter and 1 number.

You can also make sure the password length is within a range, the following makes sure the password is between 6 and 15 characters long.

Don’t you just love regular expressions :)


Related Pages

2 Responses to “Validating a user defined password with reg exp”

  1. how can i find my password of that mail?

    Umutoni Yvette

  2. Sorry Umutoni but I don’t understand your question. Could you please clarify?

    Michael Sharman

Leave a Reply