|
Posted by Daz on 05/11/07 12:22
On May 11, 4:05 am, adzir <muad...@yahoo.com> 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.
www.regular-expressions.info is a good place to start. :)
[Back to original message]
|