title: Python replace string between tags
body: <p>I want to make a simple home made bbcode.</p>
  
  <p>Example of a string :</p>
  
  <pre><code>s = 'Hello world, this is my website {url}myURL{/url}'
  </code></pre>
  
  <p>I want to replace <code>{url}myURL{/url}</code> by <code>&lt;a href="myURL"&gt;myURL&lt;/a&gt;</code></p>
  
  <p>It will be great if someone has the solution ?</p>