I have a string something like this:
<BU Name="xyz" SerialNo="3838383" impression="jdhfl87lkjh8937ljk" />
I want to extract values like this:
Name = xyz SerialNo = 3838383 impression = jdhfl87lkjh8937ljk
How to get these values in C#?
I am using C# 3.5.
If by some reason you don't want to use Xml parser you can use reqular expression to achieve this.
Use this regular expression:
Use this regular expression like this:
Result: