i'm trying to get all the
<br> </br> <br/> and <br /> <p> and </p>
in my code but my current regex is getting
<b>
/* and */
</b>
aswell i would like them excluded. How would i go about this?
private static string StripTagsRegex(string source)
{
return Regex.Replace(source, "<.?br?/?>|<.?p?/?>", string.Empty);
}