title: How do I make this regular expression skip over a new line in Python?
body: <p>How would I incorporate a modifier here, like "M"? I read about modifiers to go into "multi-line" mode? I'm wanting to skip a new line anywhere it may be in the search.</p>
  
  <pre><code>content= re.sub(r'(title href="#_ftnref\d+"&gt;&lt;span lang="en-us"&gt;)(.{1,4}&lt;)',r'\1xyz&lt;',content)
  </code></pre>