title: Python: How do I replace everything between two strings without replacing the strings?
body: <p>I have this string</p>
  
  <pre><code>str = '''
        // DO NOT REPLACE ME //
        Anything might be here. Numbers letters, symbols, and other strings.
        // DO NOT REPLACE ME EITHER //
        '''
  </code></pre>
  
  <p>I want to replace whatever is between those two lines, but I do not want to replace those strings. How do I do this?</p>