0
I have several DIVS that contain a < p >  ;< /p >. How do I remove this paragraph with space in Codebehind? (Without using JS or Jquery)
0
I have several DIVS that contain a < p >  ;< /p >. How do I remove this paragraph with space in Codebehind? (Without using JS or Jquery)
0
I’ve already figured out.
(OBJETO).Text = Regex.Replace((OBJETO).Text, "<p> </p>", "", RegexOptions.Singleline)
;)
Leandro if you explain the answer may be that others with the same problem can learn too.
Browser other questions tagged asp.net webforms div
You are not signed in. Login or sign up in order to post.
Why do you want to remove this in Codebehind? Explain your question better. Do you have an example of code?
– Marconi