title: Replace string with JSX tags
body: <p>I'm working with <strong>ReactJS</strong> and try to <strong>wrap specific words/phrases in JSX tags</strong>. I have a <strong>data.jsx</strong> where I have an array with objects like <code>message: "{span}Hello{/span} what's up?"</code>. Now I'd like to replace <strong>{span}{/span}</strong> with the tags. Sadly I can't use <code>.replace('{span}', &lt;span&gt;)</code> for this task. Is there any way to do this?</p>
  
  <p>This might be more complicated if I want to use {span}{/span} many times in the same string. But would be great if there's a way.</p>