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.

Published by salubrium

I am a Systems Administrator based in Sydney, Australia with some hugely varied interests: Topics covered are Virtualization, Web Hosting, Remote Desktop, Security and Backups, PHP, Python, MVC Frameworks, SEO

Leave a comment

Your email address will not be published.