title: Regex to find matching string in a ruby
body: <p>I have this string in ruby, I want to find the contract_addendum_1 key and its value, Can someone please tell me the regex to find the contract_addendum_1 with its value.</p>
  <pre><code>&quot;{\&quot;month_day\&quot;:\&quot;JulyYork\&quot;,\&quot;state\&quot;:\&quot;NY\&quot;,\&quot;zip\&quot;:\&quot;10104\&quot;,\&quot;country\&quot;:\&quot;US\&quot;,\&quot;investment_id\&quot;:102,\&quot;inve,\&quot;contract_addendum_1\&quot;:\&quot;Pursuant to the Side Letter re: Assignment dated [June__, 2021 ] between Security\\n Sponsor 2021-1, LLC herein as \&quot;Subscriber\&quot;, and FTF Lending, LLC herein as \&quot;Borrower\&quot; so be it\\n acknowledged that Subscriber purchased this Non-Recourse Borrower Payment Dependent Note and\\n immediately transferred all of it's right,set forth to US Issuer hey 2021-1\\n herein as \&quot;Holder\&quot;. [Lawyers to add any additional wording if needed].\&quot;,\&quot;subscriber_name\&quot;:\&quot;Security Sponsor 2021-1, LLC\&quot;}&quot;
  </code></pre>
  <p>I tried on <a href="https://rubular.com/" rel="nofollow noreferrer">https://rubular.com/</a>
  so far this is what I came across <code>\\&quot;contract_addendum_1\\&quot;:\\&quot;([^&quot;]+)</code> but this is incomplete, since it does not match to the end of the value.</p>