[thelist] Regex Riddle

Jason Handby jason.handby at corestar.co.uk
Sat Aug 28 18:43:34 CDT 2010


> Try this.
> 
> Regular expression      ([^?&=]*)(?:&[^a]|=|&)
> 
> Replacement expression  \1/


Oops sorry, it was chopping out letters after ampersands. Try

([^?&=]*)(?:=|&|&)


Jason



More information about the thelist mailing list