I have an url as below:
http://localhost:100001/foldername/controllername/actionmethodname/?querystring=1&querystring=true
I just want to extract the url without the action method name and querystring.
Required output will be: http://localhost:100001/foldername/controllername