I have several DIVS that contains a < p > & nbsp; < / p & gt ;. How do I remove this paragraph with space in CodeBehind? (Without using JS or JQuery)
I have several DIVS that contains a < p > & nbsp; < / p & gt ;. How do I remove this paragraph with space in CodeBehind? (Without using JS or JQuery)
I've already figured it out.
(OBJETO).Text = Regex.Replace((OBJETO).Text, "<p> </p>", "", RegexOptions.Singleline)
;)