How do you fill $url?
If it is extracted from a HTML document it may be html encoded, so you won't find a literal '&&'; maybe a '&&'.
It's hard to guess without knowing further details (Data source, script context, ...).
In reply to Re: regex with special characrer help
by linuxer
in thread regex with special characrer help
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |