You are here: Re: Regular Expression to validate password « PHP Programming Language « IT news, forums, messages
Re: Regular Expression to validate password

Posted by Jerry Stuckle on 05/11/07 04:23

adzir wrote:
> On May 8, 1:31 am, Michael Fesser <neti...@gmx.de> wrote:
>> .oO(gosha bine)
>>
>>> Michael Fesser wrote:
>>>> preg_match('#[a-zA-Z\d]*[A-Z][a-zA-Z\d]*#', $str);
>>> Michael, your pattern will also match "*&(*%& Z #)&*(", because it's not
>>> anchored. Use ^ and $ (and not forget /D) to make it do what you want.
>> Correct. Good point.
>>
>> Micha
>
> Where can I find a good site to explain to me all the syntax (simbols,
> characters used in the preg_match function)?
>
> php.net seems not to satisfy me.
>

Just google for "Regular expressions". There are thousands of them out
there, offering all levels of explanations. Many are pretty good.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация