Home » Internet Goodness

A regex expression for stripping ?key=value data

8 October 2007 No Comment

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.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.