title: What regex to use to replace some strings with line breaks between two substrings?
body: <p>What regex to use to replace text between two strings (but the text also has line breaks)? Basically, how could I replace all occurrences of this:</p>
  
  <pre><code>            "points": [
                {
                  "id": 1,
                  "x": 15500,
                  "y": 3900,
                  "state": 1
                }
              ]
  </code></pre>
  
  <p>with this:</p>
  
  <pre><code>            "points": []
  </code></pre>