Remove params from URL in JavaScript
Let us say the param we want to remove is session and our URL is...
Tags: regex, javascript