My IIS log has a query parameter(cs-uri-query) that looks like below
"TraceId=8c0b8329-f125-4dec-90af-f508674284f5,PartnerId=Partner1\r\n,UserInput=Address1:+1234+block+of+XYZ+Street+Address2:+Santa+Fe+Springs+State:+California+ZipCode:+90000+Country:+United+States+"
I need to extract Address1,Address2,State,ZipCode and Country from the above line. also note that these fields need not always appear in the same order.
What is the best and quick way to parse this?I'am trying to do this using a c# command line tool.any other script based solution is also fine.