<?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: Extract a Part of a URL with extract text processor in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351978#M236411</link>
    <description>&lt;P&gt;Hi, thanks for your help.&lt;/P&gt;&lt;P&gt;Unfortunately it does not work, here is the entire URL I have also defined variables that are part of the URL.&amp;nbsp;I had not considered that these must be taken into account&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://mycompany.my.app/api/public/v1/organisations/" target="_blank"&gt;https://mycompany.my.app/api/public/v1/organisations/&lt;/A&gt;&lt;FONT color="#FF0000"&gt;60910c2f18572ebe8aa7a677&lt;/FONT&gt;/detailedLaborcosts?month=&lt;FONT color="#FF0000"&gt;#{today}&lt;/FONT&gt;&amp;amp;apiKey=myapikey&lt;BR /&gt;The components highlighted in red may change, the rest is constant&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 07:42:20 GMT</pubDate>
    <dc:creator>MarioFRS</dc:creator>
    <dc:date>2022-09-12T07:42:20Z</dc:date>
    <item>
      <title>Extract a Part of a URL with extract text processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351851#M236390</link>
      <description>&lt;P&gt;Hy everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help to extract a part from a url with the extratct text processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/organisations/&lt;FONT color="#FF0000"&gt;60910c2f18572ebe8aa7a677&lt;/FONT&gt;/detailedLaborcosts? (Note the ID may change)&lt;BR /&gt;&lt;BR /&gt;I expect this result&amp;nbsp;&lt;FONT color="#FF0000"&gt;60910c2f18572ebe8aa7a677&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks for suggestions&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 10:19:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351851#M236390</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-09-09T10:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Extract a Part of a URL with extract text processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351889#M236394</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Do you usually have the ID sorrounded with the same phrases all the time? like this:&lt;/P&gt;&lt;P&gt;/organisations/&lt;FONT color="#FF0000"&gt;ID&lt;/FONT&gt;/detailedLaborcosts&lt;/P&gt;&lt;P&gt;If that is the case you can use the following regex in the extract text processor:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/organisations/([0-9a-z]+)/detailedLaborcosts&lt;/LI-CODE&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 17:38:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351889#M236394</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-09-09T17:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Extract a Part of a URL with extract text processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351978#M236411</link>
      <description>&lt;P&gt;Hi, thanks for your help.&lt;/P&gt;&lt;P&gt;Unfortunately it does not work, here is the entire URL I have also defined variables that are part of the URL.&amp;nbsp;I had not considered that these must be taken into account&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://mycompany.my.app/api/public/v1/organisations/" target="_blank"&gt;https://mycompany.my.app/api/public/v1/organisations/&lt;/A&gt;&lt;FONT color="#FF0000"&gt;60910c2f18572ebe8aa7a677&lt;/FONT&gt;/detailedLaborcosts?month=&lt;FONT color="#FF0000"&gt;#{today}&lt;/FONT&gt;&amp;amp;apiKey=myapikey&lt;BR /&gt;The components highlighted in red may change, the rest is constant&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 07:42:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351978#M236411</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-09-12T07:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: Extract a Part of a URL with extract text processor</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351983#M236414</link>
      <description>&lt;P&gt;I have found the solution, for the changing parts of the url&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://mycompany\" target="_blank"&gt;https://mycompany\&lt;/A&gt;.my\.app/api/public/v1/organisations/([0-9a-z]+)/detailedLaborcosts.*&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 09:58:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Extract-a-Part-of-a-URL-with-extract-text-processor/m-p/351983#M236414</guid>
      <dc:creator>MarioFRS</dc:creator>
      <dc:date>2022-09-12T09:58:01Z</dc:date>
    </item>
  </channel>
</rss>

