title: Regex match complex substring
body: <p>I have a json stored in MySQL and I want to find matches using regex. I was trying to achieve this by building a query with REGEXP instead of LIKE.</p>
  
  <pre><code>{"type":"4","Record channels HDCVI":{"1":"4","3":"16"},
  "Supported standarts HDCVI DVR":{"0":"HDCVI","2":"IP","3":"AHD","4":"Analog"},
  "Record resolution HDCVI DVR":{"1":"FullHD 1080p"},
  "HDD amount":{"1":"2","2":"4"},
  "Specs HDCVI DVR":{"0":"2x HDMI","1":"TV-out","2":"Videoanalytics","3":"eSATA","5":"RS-485"}}
  </code></pre>
  
  <p>For example, I need to get all the records with 4 Record channels HDCVI.</p>
  
  <p>So, my idea is to look for a substring like this:</p>
  
  <pre><code>"Record channels HDCVI":{" ... :"4" ... "}
  </code></pre>
  
  <p>and instead of three dots there should be placeholders like any amount of any characters BUT this expression should stop with the first match of closing curly bracket. </p>
  
  <p>This selects substring till the last 4"} under HDD amount section. Can't figure it out.</p>
  
  <pre><code>/Record channels HDCVI.+"4"}/g
  </code></pre>