title: Extract and substitute substring between placeholders in string
body: <p>I have an input text, </p>
  
  <pre><code>input = 'I like {sushi} and {tempura}.'
  </code></pre>
  
  <p>and want to get a list and a replaced src from that.</p>
  
  <pre><code>lst = ['sushi', 'tempura']
  src = 'I like * and *.'
  </code></pre>
  
  <p>I can use any tokens in the input/output strings instead of <code>{}</code> and <code>*</code>, such as <code>[]</code> or something.</p>