title: get string from object text using regex
body: <p>I have some HTML that contain this script</p>
  <pre><code>   window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag('js', new Date());
  
          gtag('config', 'UA-117747539-1', {
          'custom_map': {
              'dimension1': 'novel',
              'dimension2': 'chapter',
              'dimension5': 'novel_id',
              'dimension6': 'chapter_id'
          }
      });
      // Sends the custom dimension to Google Analytics.
      gtag('event', 'novel_dimension', {
          'novel': 'I&amp;#039;m The Most Evil Support Class【Talker】And I&amp;#039;ll Subdue The Strongest Clan In The World',
          'chapter': 'Chapter: 002',
          'novel_id': '198',
          'chapter_id': '7756'
      });
  </code></pre>
  <p>I want to get the data novel_id and chapter_id from the object above using regex.</p>
  <p>Is that possible?</p>