uid_b Wrote:
-------------------------------------------------------
> scratch that!
>
> regex was a little greedy, should look like:
> ^(.+\.php)(.*?)\?
unless of course you're using the pcre library which can't handle \??
this actually works: ^(.+\.php)([^?]*).*$