CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Re: regular expression validation on password field

Print topic Send  topic

Author Message
DonB
Posted: 10/12/2007, 5:25 PM

I think you want to remove the ^ and the $ and pick some other character as
the 'delimiter' (such as / or @)

Something to do with Perl vs C pattern rules. PHP follows the Perl rules in
it's preg_xxxx() functions.

--
DonB

http://ccswiki.gotodon.net


"RES" <RES@forum.codecharge> wrote in message
news:5470fd29d25fd8@news.codecharge.com...
> I'm trying to get this regular expression validation on the password
field. but
> it fails everytime. I've used it successfully on online testers. But i
can't
> get it to work with codecharge successfully.
>
> here is the reg exp
> ^(?=.*[a-zA-Z])(?=.*[A-Z])(?=.*\d)[a-zA-Z0-9]{8,15}$
>
> The password should have 1 uppercase, 1 lowercase, 1 number, and no
special
> characters.
>
> please help.
> _________________
> RES
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.