String s = string you have to clean;
S = regex.replace (s, @ "/ <[^ />] * />", ", regexoptions.multiline);
The current string S is cleaned up all <> content, provided that your HTML element is not wrong nested