G
Guest
Hi,
I've written the code to read an HTML file into a string. Now I want to
replace tags with other things. The problem comes up that some row tags
(<tr>) are just a plain tag like <tr>, and sometimes they have attributes,
like <tr bgcolor=''>. My code right now looks like:
text = Regex.Replace(text, "<tr*>", "")
What would make this work?
I've written the code to read an HTML file into a string. Now I want to
replace tags with other things. The problem comes up that some row tags
(<tr>) are just a plain tag like <tr>, and sometimes they have attributes,
like <tr bgcolor=''>. My code right now looks like:
text = Regex.Replace(text, "<tr*>", "")
What would make this work?