I need to split this/similar string to get the VALUE
<a href="javascript:void(0);" id="def_" name="color" rel="ml">VALUE</a>
I can do String.Split(“>”) and then another StringArr[1].Split(“<“) but that is not efficient and bulky.
What would be the way way to do it?
You need a parser, trying to split the string would be just a temporary hack. Look into HtmlAgilityPack
For your example HTML this would like this: