<?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>topic Replace All only for year before colon in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325597#M95183</link>
    <description>Hi, 
&lt;BR /&gt;Below is my Input 
&lt;BR /&gt; 
&lt;BR /&gt;Id,name,charac 
&lt;BR /&gt;1,fff, "a2018":"23" 
&lt;BR /&gt;2,hhdh,"a":"2019" 
&lt;BR /&gt;3,agdhs,"a":"2018" 
&lt;BR /&gt;4,hrjje, "a":"2019", "a2018": "atra" 
&lt;BR /&gt;5,jdjeh, "a2018": 2018-12, "b":2019 
&lt;BR /&gt; 
&lt;BR /&gt;Need to replace any year with blank (no space) only before colon ( 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; in the column charac. Ni change of other columns. Charac data type is jason. 
&lt;BR /&gt; 
&lt;BR /&gt;I have tried with replace all which is replacing all years after colon ( 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; also 
&lt;BR /&gt; 
&lt;BR /&gt;My output should be as below: 
&lt;BR /&gt;Id,name,charac 
&lt;BR /&gt;1,fff, "a":"23" 
&lt;BR /&gt;2,hhdh,"a":"2019" 
&lt;BR /&gt;3,agdhs,"a":"2018" 
&lt;BR /&gt;4,hrjje, "a":"2019", "a": "atra" 
&lt;BR /&gt;5,jdjeh, "a": 2018-12, "b":2019 
&lt;BR /&gt; 
&lt;BR /&gt;Please help me 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Ram</description>
    <pubDate>Wed, 22 May 2019 16:14:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-05-22T16:14:52Z</dc:date>
    <item>
      <title>Replace All only for year before colon</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325597#M95183</link>
      <description>Hi, 
&lt;BR /&gt;Below is my Input 
&lt;BR /&gt; 
&lt;BR /&gt;Id,name,charac 
&lt;BR /&gt;1,fff, "a2018":"23" 
&lt;BR /&gt;2,hhdh,"a":"2019" 
&lt;BR /&gt;3,agdhs,"a":"2018" 
&lt;BR /&gt;4,hrjje, "a":"2019", "a2018": "atra" 
&lt;BR /&gt;5,jdjeh, "a2018": 2018-12, "b":2019 
&lt;BR /&gt; 
&lt;BR /&gt;Need to replace any year with blank (no space) only before colon ( 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; in the column charac. Ni change of other columns. Charac data type is jason. 
&lt;BR /&gt; 
&lt;BR /&gt;I have tried with replace all which is replacing all years after colon ( 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; also 
&lt;BR /&gt; 
&lt;BR /&gt;My output should be as below: 
&lt;BR /&gt;Id,name,charac 
&lt;BR /&gt;1,fff, "a":"23" 
&lt;BR /&gt;2,hhdh,"a":"2019" 
&lt;BR /&gt;3,agdhs,"a":"2018" 
&lt;BR /&gt;4,hrjje, "a":"2019", "a": "atra" 
&lt;BR /&gt;5,jdjeh, "a": 2018-12, "b":2019 
&lt;BR /&gt; 
&lt;BR /&gt;Please help me 
&lt;BR /&gt; 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Ram</description>
      <pubDate>Wed, 22 May 2019 16:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325597#M95183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T16:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Replace All only for year before colon</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325598#M95184</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I hope below solution will help you.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 837px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Oe.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149555iCE6094BF70F3C42A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Oe.png" alt="0683p000009M4Oe.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M4Ot.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153035i3E5394B45DDE4A8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M4Ot.png" alt="0683p000009M4Ot.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row1.line.replaceAll("[0-9][0-9][0-9][0-9]\":","\":") &lt;/PRE&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 21:15:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325598#M95184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-22T21:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: Replace All only for year before colon</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325599#M95185</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOsxAAG"&gt;@nani22633&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Were you able to resolve your issue with the help of above post? If yes, could you please mark the topic as resolved?&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2019 18:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Replace-All-only-for-year-before-colon/m-p/2325599#M95185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-05-23T18:43:01Z</dc:date>
    </item>
  </channel>
</rss>

