<?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 Regex Replace Is Not Working in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378067#M139878</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a new problem.  I've been using Talend 6.3 for a few years and I've been using this same approach but for some reason the results have changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a regular situation where I have to take a series of letters from a table column and insert a dash between every 2 characters.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - DU02ASUD47S1FN2N becomes DU-02-AS-UD-47-S1-FN-2N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do this with a very simple REGEX REPLACE function from a SQL query in tVerticaInput or tAs400Input component.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGEXP_REPLACE(TableColumn, '(.{2}(?!$))', '\1-')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very recently Talend Open Studio for Data Integration (which has not changed - it's the same version I've always been running) now returns this output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OAhbGAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138069i562B960F1413242A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OAhbGAAT.png" alt="0695b00000OAhbGAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't figure out why this odd "blob" or block is being returned instead of the actual characters save for the last 2?  I've also tried this differently by just using an expression in a TMAP field using the EREPLACE (StringHandling.EREPLACE(row1.newColumn,"(.{2}(?!$))","\1-")&amp;nbsp;routine there and doing the same thing but I get the same result.  Blocks with the last 2 characters rendered correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this might be happening given that the install hasn't changed?  Could this be a memory problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 22:35:57 GMT</pubDate>
    <dc:creator>DarinAfni</dc:creator>
    <dc:date>2022-02-10T22:35:57Z</dc:date>
    <item>
      <title>Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378067#M139878</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a new problem.  I've been using Talend 6.3 for a few years and I've been using this same approach but for some reason the results have changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a regular situation where I have to take a series of letters from a table column and insert a dash between every 2 characters.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So - DU02ASUD47S1FN2N becomes DU-02-AS-UD-47-S1-FN-2N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do this with a very simple REGEX REPLACE function from a SQL query in tVerticaInput or tAs400Input component.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGEXP_REPLACE(TableColumn, '(.{2}(?!$))', '\1-')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very recently Talend Open Studio for Data Integration (which has not changed - it's the same version I've always been running) now returns this output:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OAhbGAAT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138069i562B960F1413242A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OAhbGAAT.png" alt="0695b00000OAhbGAAT.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't figure out why this odd "blob" or block is being returned instead of the actual characters save for the last 2?  I've also tried this differently by just using an expression in a TMAP field using the EREPLACE (StringHandling.EREPLACE(row1.newColumn,"(.{2}(?!$))","\1-")&amp;nbsp;routine there and doing the same thing but I get the same result.  Blocks with the last 2 characters rendered correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why this might be happening given that the install hasn't changed?  Could this be a memory problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 22:35:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378067#M139878</guid>
      <dc:creator>DarinAfni</dc:creator>
      <dc:date>2022-02-10T22:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378068#M139879</link>
      <description>&lt;P&gt;Can you show the data before it has been altered? If the installation hasn't changed, the data must have. Maybe the encoding of the data you are receiving has changed?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 01:38:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378068#M139879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-11T01:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378069#M139880</link>
      <description>&lt;P&gt;I'll do my best to show what I'm talking about.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I run a query in a SQL Editor then it does exactly what I want it to do.  Such as this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OAt44AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131741i4A6368E897CC43A0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OAt44AAD.png" alt="0695b00000OAt44AAD.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I then move into Talen to run the exact same query from tVerticaInput then the results are as you see below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000OAt57AAD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152488i2E14C1F9002E2AB0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000OAt57AAD.png" alt="0695b00000OAt57AAD.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope those images come through in a way that is readable.  Nothing about the data in those tables should render fine from a SQL Editor and then behave like this in Talend.  It makes no sense, but that's what is happening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Darin&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 21:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378069#M139880</guid>
      <dc:creator>DarinAfni</dc:creator>
      <dc:date>2022-02-11T21:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378070#M139881</link>
      <description>&lt;P&gt;I should also specify that I'm the Vertica dba.  I know very well that the data type from those fields in those tables have not changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing that changed about this environment is that the windows machine that hosts Talend was moved to a new data center.  So the VM was backed up and restored on new hardware.  But the OS, Talend version, hardware specs, all identical.  Just lifted and shifted.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 21:29:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378070#M139881</guid>
      <dc:creator>DarinAfni</dc:creator>
      <dc:date>2022-02-11T21:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378071#M139882</link>
      <description>&lt;P&gt;I'm afraid this sounds like it is more to do with the move of the VM rather than the job itself. I'd contact the VM provider you are using and explain these symptoms. If nothing has changed at all with Talend, the job or the JDK being used, my first course of action would be to look at what has changed.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 21:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378071#M139882</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-11T21:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378072#M139883</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I have a csv File&lt;/P&gt;&lt;P&gt;name; FirstName ; numero;adresse&lt;/P&gt;&lt;P&gt;1 a;b;12,xx&lt;/P&gt;&lt;P&gt;2 c;b;13;yy&lt;/P&gt;&lt;P&gt;3 x;y;47;zz&lt;/P&gt;&lt;P&gt;4 e;r;45;tt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want identify the doublon row by FirstName( here row number 1 and 2 firstName =b )&lt;/P&gt;&lt;P&gt;and i want to update the csv file to add new column "status" NotUnique like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;name; FirstName ; numero;adresse;status&lt;/P&gt;&lt;P&gt;1 a;b;12,xx;NotUnique&lt;/P&gt;&lt;P&gt;2 c;b;13;yy;NotUnique&lt;/P&gt;&lt;P&gt;3 x;y;47;zz;unique&lt;/P&gt;&lt;P&gt;4 e;r;45;tt;unique&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;can some one help me&lt;/P&gt;&lt;P&gt;Thank you very mutch in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Feb 2022 19:00:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378072#M139883</guid>
      <dc:creator>ddduser1643959971</dc:creator>
      <dc:date>2022-02-12T19:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378073#M139884</link>
      <description>&lt;P&gt;Have you try to just read the file without the regex ?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 07:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378073#M139884</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-14T07:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378074#M139885</link>
      <description>&lt;P&gt;Hi, have you tried to use tUniqRow component ?&lt;/P&gt;&lt;P&gt;Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 07:59:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378074#M139885</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-02-14T07:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Regex Replace Is Not Working</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378075#M139886</link>
      <description>&lt;P&gt;Hi @duser dduser​,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please create a new question about your issue? it is not related to the issue above and can be quite confusing for people looking for answers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 10:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Regex-Replace-Is-Not-Working/m-p/2378075#M139886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-14T10:37:43Z</dc:date>
    </item>
  </channel>
</rss>

