Trying to remove parts of a URL via RegEx.
I'm getting my content via an AJAX requst thus I cannot use
$(location).attr('search').split("&")[2]
Any direct answer will be greatly appreciated as I cannot comprehend RegEx, other better or more efficient suggestions will also be greatly valued.