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\]?.