T
tshad
I am trying to turn my html page into text only (except for <a> tags -
links).
I have changed everything except remaining tags.
************************************
// Remove remaining tags like <a>, links, images,
// comments etc - anything thats enclosed inside < >
result = System.Text.RegularExpressions.Regex.Replace(result,
@"<[^>]*>",string.Empty,
System.Text.RegularExpressions.RegexOptions.IgnoreCase);
***********************************************
Is there a way to change this to say all tags EXCEPT <a> tags?
Thanks,
Tom
links).
I have changed everything except remaining tags.
************************************
// Remove remaining tags like <a>, links, images,
// comments etc - anything thats enclosed inside < >
result = System.Text.RegularExpressions.Regex.Replace(result,
@"<[^>]*>",string.Empty,
System.Text.RegularExpressions.RegexOptions.IgnoreCase);
***********************************************
Is there a way to change this to say all tags EXCEPT <a> tags?
Thanks,
Tom
