I am thinking of the best way to remove part of a string. Here is my String value:
Code:
I am looking to remove the lines within the string that have <ID>ANY VALUE</ID>, and <ParentID>ANY VALUE</ParentID>.
What would be the best way to do this? Any help is appreciated.
Code:
VB.NET:
<ul>
<ul>
<ID>98</ID>
<li>Online CIO</li>
<ul>
<ID>99</ID>
<ParentID>98</ParentID>
<li>Add CIO</li>
</ul>
<ul>
<ID>100</ID>
<ParentID>98</ParentID>
<li>View CIOs</li>
</ul>
</ul>
</ul>
What would be the best way to do this? Any help is appreciated.