title: How to add a prefix/suffix to text per line using javascript?
body: <p>how would i add a prefix per line to a text area.. example:</p>
  
  <p>this is the content of the textarea:<br/><br/>
  <code>hello<br/>124</code>
  <br/><br/>and i would want to add a [b] prefix and suffix to each line so that when i click a button the result will be:<br/><br/><br/>
  <code>
  [b]hello[/b]<br/>
  [b]124[/b]
  </code><br/><br/>
  please help me :(</p>