Posted by no on 04/26/07 11:01
Papkin wrote:
> Hi
>
> if (
> eregi("^[\&/[:space:]/a-zA-Z0-9±ęćłń󶿼ˇĆĘŁŃÓ¦¬Ż\.\/\/-]{2,65}$","Merry
> & Cat") )
> return true;
> else
> return false;
>
> I'd like to match also "&" but this regexp above does not do this,
> adding \& does not help. Any ideas?
>
> Thank you
i see some pretty wild characters there.
give it a try with this
eregi('[a-z]+ \& [a-z]+', 'Merry & Cat')
[Back to original message]
|