I am new to the asp.net c# development i need to get "test.aspx" part only from this string "/test1/Pages/Request/test.aspx?id=-1" .Please help me if some one know better way to do that ,i check some regular expression methods but still i haven't correct solution.
Thanks
test.aspxpage by chance? in other words, do you want the name of the current requested page?