I'm intercepting user clicks on pagination links and I need to extract only page number from that link which is always set inside page variable. so inside my js I have ....\[code\]var a = $a.attr("href");\[/code\]..which ouputs this\[code\]/Home/GetTabData?page=2&activeTab=House\[/code\]so how can I extract only this number from after page=If it's matter keep in mind that this number can be two or three digit long and activeTab is dynamic value.Thanks