|
Posted by -Lost on 05/12/07 14:09
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.
>>
>
> 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.
http://weitz.de/regex-coach/
--
-Lost
Remove the extra words to reply by e-mail. Don't e-mail me. I am
kidding. No I am not.
[Back to original message]
|