how to replace <P some text here> with the <P> tag.
actually I want to replace
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt">
with a <P> tag.
and how to replace </B> to [/b] globally
var b = /</B>/g;
I could make this pattern is there any way to do this.