title: Python regex: how to replace each instance of an occurrence with a different value?
body: <p>Suppose I have this string:
  <code>s = "blah blah blah"</code></p>
  
  <p>Using Python regex, how can I replace each instance of "blah" with a different value (e.g. I have a list of values <code>v = ("1", "2", "3")</code></p>