<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: ExtractText picking up the first match. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270133#M207318</link>
    <description>&lt;P&gt;Found the solution!&amp;nbsp;&lt;BR /&gt;Just needed to apply the regex&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(?:"b":.\w+?)(\d+)&lt;/LI-CODE&gt;&lt;P&gt;thanks to&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55311"&gt;@Shu_ashu&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Sep 2019 14:59:46 GMT</pubDate>
    <dc:creator>ANMAR</dc:creator>
    <dc:date>2019-09-10T14:59:46Z</dc:date>
    <item>
      <title>ExtractText picking up the first match.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270053#M207258</link>
      <description>&lt;P&gt;I have an event&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;{&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"a":"avc123.abc.com",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"b":"24 - ny",&lt;BR /&gt;&lt;/SPAN&gt;"c" : "21321kodi"&lt;BR /&gt;&lt;SPAN&gt;}&lt;BR /&gt;&lt;BR /&gt;i would like to use extracttext to filter/extract only the "b" however, it is picking up the first match. How can I specify to extract text from field "b" only not "a" neither "c"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 17:14:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270053#M207258</guid>
      <dc:creator>ANMAR</dc:creator>
      <dc:date>2019-09-09T17:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractText picking up the first match.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270092#M207284</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/69313"&gt;@ANMAR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try with this regex&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(?:"b"\s*:\s*)"(.*?)",&lt;/LI-CODE&gt;&lt;P&gt;This will extract only&amp;nbsp;&lt;STRONG&gt;24 - ny&amp;nbsp;&lt;/STRONG&gt;value from the given event&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 04:07:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270092#M207284</guid>
      <dc:creator>Shu_ashu</dc:creator>
      <dc:date>2019-09-10T04:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: ExtractText picking up the first match.</title>
      <link>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270133#M207318</link>
      <description>&lt;P&gt;Found the solution!&amp;nbsp;&lt;BR /&gt;Just needed to apply the regex&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(?:"b":.\w+?)(\d+)&lt;/LI-CODE&gt;&lt;P&gt;thanks to&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55311"&gt;@Shu_ashu&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 14:59:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/ExtractText-picking-up-the-first-match/m-p/270133#M207318</guid>
      <dc:creator>ANMAR</dc:creator>
      <dc:date>2019-09-10T14:59:46Z</dc:date>
    </item>
  </channel>
</rss>

