A regex expression for stripping ?key=value data

A regex expression for stripping ?key=value data off (django) URL’s

http://[^\?]*/

Thanks to this regex site. Of course, it’s not well tested but it did what I needed it to.

Technorati Tags: ,

Powered by ScribeFire.


About this entry