Follow me on Twitter RSS FEED

Regular expression for html tags.

Posted in
Regular expression to select tags in a html document.
@"<[/]?(font|p|xml|del|ins|[ovwxp]:\w+)[^>]*?>"
By this way we can remove unwanted tags using Regex.Replace() method.

0 comments:

Post a Comment