I am getting the current URL with:
string url = HttpContext.Current.Request.Url.AbsoluteUri;
//url = blahblahblah.aspx?NUMBER=8798494651&FULLNAME=Ronald
After this, I want to use url.Split()
to obtain the value after both equals signs. This would normally be straight forward but as you can see the first value has an obvious end character of '&' while the other does not. Furthermore, the FULLNAME value can always be different.
I have seen other Regex parsing questions/answers on here but of course they are all for specific cases.
Thanks in advance.