<?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 Re: removing unwanted charcters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354567#M120514</link>
    <description>&lt;P&gt;You need tu use a regex with String.replaceAll method in a tMap or tJavaRow component like this:&lt;/P&gt;&lt;PRE&gt;row1.before.replaceAll("[^0-9\\.]", "")&lt;/PRE&gt;&lt;P&gt;Here is the result:&lt;/P&gt;&lt;PRE&gt;Démarrage du job test a 10:05 30/05/2018.
[statistics] connecting to socket on port 3820
[statistics] connected
.-------------+-----------.
|       tLogRow_49        |
|=------------+----------=|
|before       |after      |
|=------------+----------=|
|.23          |.23        |
|100          |100        |
|100.         |100.       |
|100.23abc    |100.23     |
|2000.801246┬à|2000.801246|
'-------------+-----------'

[statistics] disconnected
Job test terminé à 10:05 30/05/2018. [Code sortie=0]&lt;/PRE&gt;&lt;P&gt;Does this help?&lt;/P&gt;</description>
    <pubDate>Wed, 30 May 2018 09:09:19 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-05-30T09:09:19Z</dc:date>
    <item>
      <title>removing unwanted charcters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354565#M120512</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt; 
&lt;P&gt;I'm a beginner in talend. I want to pass data by removing unwanted characters present.&lt;/P&gt; 
&lt;P&gt;I'm having special character coming from source in one of my columns . I want to remove that and process the output. I tried using Treplace component. Tried even Tjavarow.&lt;/P&gt; 
&lt;P&gt;Can anybody please help me out?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 131px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyjf.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128133i2249CB17DEC1714F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyjf.png" alt="0683p000009Lyjf.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 06:10:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354565#M120512</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T06:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: removing unwanted charcters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354566#M120513</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LORdAAO"&gt;@snishtala&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can you try to replace with in tMap below funtion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row1.column.replaceAll("a","")&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;row1.column.replace("a","")&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 06:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354566#M120513</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-05-30T06:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: removing unwanted charcters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354567#M120514</link>
      <description>&lt;P&gt;You need tu use a regex with String.replaceAll method in a tMap or tJavaRow component like this:&lt;/P&gt;&lt;PRE&gt;row1.before.replaceAll("[^0-9\\.]", "")&lt;/PRE&gt;&lt;P&gt;Here is the result:&lt;/P&gt;&lt;PRE&gt;Démarrage du job test a 10:05 30/05/2018.
[statistics] connecting to socket on port 3820
[statistics] connected
.-------------+-----------.
|       tLogRow_49        |
|=------------+----------=|
|before       |after      |
|=------------+----------=|
|.23          |.23        |
|100          |100        |
|100.         |100.       |
|100.23abc    |100.23     |
|2000.801246┬à|2000.801246|
'-------------+-----------'

[statistics] disconnected
Job test terminé à 10:05 30/05/2018. [Code sortie=0]&lt;/PRE&gt;&lt;P&gt;Does this help?&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 09:09:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354567#M120514</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-05-30T09:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: removing unwanted charcters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354568#M120515</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Thanks a lot mate. It worked with little addition to the expression. I've forgot to mention that i also have some Alphabets coming in that column which i need to pass.&lt;/P&gt; 
&lt;P&gt;So as an addition to the expression i"ve inserted a-zA-Z in your expression and it worked.&lt;/P&gt; 
&lt;P&gt;So this is the final expression&amp;nbsp;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row1.before.replaceAll("[^0-9a-zA-Z\\.]", "")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;Thanks again for taking time and replying to my post.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:35:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354568#M120515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T17:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: removing unwanted charcters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354569#M120516</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I've forgot to mention that i also have some alphabets coming in that column which i need to process it to output.Thanks for replying to my post.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354569#M120516</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-30T17:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: removing unwanted charcters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354570#M120517</link>
      <description>&lt;P&gt;I have source like this&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;email&lt;/P&gt; 
&lt;P&gt;sudhakar###!@gmail.com&lt;/P&gt; 
&lt;P&gt;manik@um%ar*@gmail.com&lt;/P&gt; 
&lt;P&gt;vijay@gmail.com&lt;/P&gt; 
&lt;P&gt;kumar@outlook.com&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i want to differentiate the valid email data to one target and bad data is to another target&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;in tmap expression filter i used this logic StringHandling.Count(row1.email,"@")==1 ,then i got valid emails but i want to remove extra special characters&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2020 11:44:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/removing-unwanted-charcters/m-p/2354570#M120517</guid>
      <dc:creator>Vijay_K_N</dc:creator>
      <dc:date>2020-01-09T11:44:36Z</dc:date>
    </item>
  </channel>
</rss>

