title: How to replace multiple occurrences in single pass?
body: <p>I have the following string:</p>
  
  <pre><code>abc
  def
  abc
  xyz
  pop
  mmm
  091
  abc
  </code></pre>
  
  <p>I need to replace all occurrences of <code>abc</code> with the ones from array <code>["123", "456", "789"]</code> so the final string will look like this:</p>
  
  <pre><code>123
  def
  456
  xyz
  pop
  mmm
  091
  789
  </code></pre>
  
  <p>I would like to do it without iteration, with just single expression. How can I do it?</p>