title: Regex to extract the exact matching string
body: <p>I want to extract the exact string from the JSON response in Jmeter JSON extractor so below is the sample JSON payload-</p>
  <pre><code>    {   
  &quot;resource&quot;:[
      { 
          &quot;id&quot;:&quot;de04c6b1-a5a3-11ec-a02b-765e38f104a5-19&quot;,
          &quot;name&quot;:&quot;Tokyo-1-1-13&quot;,
          &quot;service_name&quot;:&quot;Tokyo-1-1-13_service&quot;,
          &quot;oper_state&quot;:&quot;UP&quot;,
          &quot;type&quot;:&quot;admin&quot;
      },
      {
          &quot;id&quot;:&quot;me05c6b1-a903-11ec-a02b-764313f104a5-19&quot;,
          &quot;name&quot;:&quot;Tokyo-1-1-1&quot;,
          &quot;service_name&quot;:&quot;Tokyo-1-1-1_service&quot;,
          &quot;oper_state&quot;:&quot;UP&quot;,
          &quot;type&quot;:&quot;admin&quot;
      },
      { 
          &quot;id&quot;:&quot;5e04c691-a5a3-11ec-a02b-765e38f3q4a5-19&quot;,
          &quot;name&quot;:&quot;Tokyo-1-1-14_service&quot;,
          &quot;service_name&quot;:&quot;Tokyo-1-1-14_service&quot;,
          &quot;oper_state&quot;:&quot;DOWN&quot;,
          &quot;type&quot;:&quot;admin&quot;
      }
      ]}
  </code></pre>
  <p>So from the above JSON payload, I want to extract &quot;oper_state&quot; of a resource where &quot;name&quot;:&quot;Tokyo-1-1-1&quot; and I'm using &quot;$.resource[?(@.name==&quot;Tokyo-1-1-1&quot;)].oper_state&quot;, but it is matching with the &quot;Tokyo-1-1-13&quot; and giving me the oper_state of this particular name, because &quot;Tokyo-1-1-13&quot; has &quot;Tokyo-1-1-1&quot; in it.
  Please help me to extract the exact data.</p>