title: AutoHotKey - Replace Multiple Lines in File
body: <p>I'm fairly new to AutoHotkey, and using it to pull in an API JSON file from a URL to a file. I've figured how to replace single-line text to replace an invalid JSON object, but am now trying to find a pattern within the file and ADD two additional lines before parsing the file into SQL table.</p>
  <p>Currently looking for the following multi-line pattern:</p>
  <pre><code>&quot;AAA&quot;: x.xx,   *Note: x.xx is a decimal number that can change per record.*
  }
  </code></pre>
  <p>Need to add the following two lines after the first line:</p>
  <pre><code>&quot;BBB&quot; {
    &quot;CCC&quot;: NULL
  </code></pre>
  <p>Final result needs to be:</p>
  <pre><code>&quot;AAA&quot;: x.xx,
  &quot;BBB&quot;: {
    &quot;CCC&quot;: NULL
  }
  </code></pre>