replace multiple <br> in javascript replace with single <br>?

MalcolmHB

New Member
I want to replace the multiple \[code\]<br>\[/code\] tags with single \[code\]<br>\[/code\] in a text.my text like,\[code\]<p>fhgfhgfhgfh</p><br><br><p>ghgfhfgh</p><br><br><p>fghfghfgh</p><br><br><p>fghfghfgh</p><br><br><p>fghfgh</p><br><br>\[/code\]How i replace the multiple \[code\]<br>\[/code\] with single \[code\]<br>\[/code\]?.
 
Back
Top