How do I alter a string between specific points in JavaScript?
<p>Say I want to change the text in between '[code][/code]' and make the text monospace (CSS) Just like Quora does, but only simpler. How would I go about doing this?</p>

<p>For example:</p>

<p>String - "Here is some code: [code]Hello[/code]"</p>
