<?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: regex on keys jolt in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352246#M236470</link>
    <description>&lt;P&gt;Actually, it looks like this kind of regEx does not work. Though my question. I'm using Nifi 11.4...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 14:56:25 GMT</pubDate>
    <dc:creator>meandeavour</dc:creator>
    <dc:date>2022-09-14T14:56:25Z</dc:date>
    <item>
      <title>regex on keys jolt</title>
      <link>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352026#M236424</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to catch any key that match a certain reg ex in jolt. The purpose is to clean and order keys into the proper name. An example worth thoushand words:&amp;nbsp;&lt;/P&gt;&lt;P&gt;possible inputs:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"my_id":234535,&lt;/P&gt;&lt;P&gt;"my company sa": "whatever value",&lt;/P&gt;&lt;P&gt;"my comp RH":&amp;nbsp;"whatever value",&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"my_id":234536,&lt;/P&gt;&lt;P&gt;"my_comp_sa" :&amp;nbsp;"whatever value",&lt;/P&gt;&lt;P&gt;"DRH" : "whatever value"&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"my_id":234535,&lt;/P&gt;&lt;P&gt;"my_company_sa": "whatever value",&lt;/P&gt;&lt;P&gt;"my_company_rh" :&amp;nbsp;"whatever value"&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 15:47:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352026#M236424</guid>
      <dc:creator>meandeavour</dc:creator>
      <dc:date>2022-09-12T15:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: regex on keys jolt</title>
      <link>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352033#M236426</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm not sure if you can use Regex in jolt transformation,&amp;nbsp; but you can use wildcard (*) instead. Keep in mind even with Regex you still need to find the common denominator for each attribute to be able to match, so wildcard should suffice. To use the wildcard you can apply something like this to your spec:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[
  {
    "operation": "shift",
    "spec": {
      "my_id": "my_id",
      "my*company*sa": "my_company_sa",
      "*RH": "my_company_rh"
    }
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Hope that helps, if it does please accept solution.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 16:04:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352033#M236426</guid>
      <dc:creator>SAMSAL</dc:creator>
      <dc:date>2022-09-12T16:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: regex on keys jolt</title>
      <link>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352246#M236470</link>
      <description>&lt;P&gt;Actually, it looks like this kind of regEx does not work. Though my question. I'm using Nifi 11.4...&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your feedback &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 14:56:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/regex-on-keys-jolt/m-p/352246#M236470</guid>
      <dc:creator>meandeavour</dc:creator>
      <dc:date>2022-09-14T14:56:25Z</dc:date>
    </item>
  </channel>
</rss>

