I’m trying to come up with a regular expression that will match open and close HTML tags in a text file. Any help at all would be great, all I’ve been able to come up with is <[^>]*>, which was the most recommended regex for my purpose. I should mention that I am using VS 2010 and C#.
I’m trying to come up with a regular expression that will match open and
Share
Think you want the following. This includes an option for self-closing tags and closing tags