how to remove and <br> using javascript or jQuery?
Posted
by shaz
on Stack Overflow
See other posts from Stack Overflow
or by shaz
Published on 2010-03-25T08:02:26Z
Indexed on
2010/03/25
8:13 UTC
Read the original article
Hit count: 356
JavaScript
|jQuery
I have written the following code. But it is removing only
not <br>
var docDesc = docDescription.replace(/( )*/g,"");
var docDesc1 = docDescription.replace(/(<br>)*/g,"");
© Stack Overflow or respective owner