dkim18
asked on
regex in c#
I am trying to remove certain html tags and save the value.
ex) <customerid><style face="normal" font="default">d33333</sty le></custo merid>
There are some other tags I want to remove. <tag> has some attributes.
<tag att='dfdff" att2="fdfdf">
Can you help?
ex) <customerid><style face="normal" font="default">d33333</sty
There are some other tags I want to remove. <tag> has some attributes.
<tag att='dfdff" att2="fdfdf">
Can you help?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
HTML can be easily converted into XML files, and then parsed in the way you want....provided the HTML is actually valid XML (structurally).
@kaufman: If the HTML is valid XML (XHTML), you don't need to convert it. My statement is that valid HTML can be converted into XHTML, which is valid XML.
And I agree, but your last post doesn't say "valid" HTML = )
which data you need exactly?