<?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: Remove non-numeric charcaters from a string in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317076#M87562</link>
    <description>ok , probably input flow has null values in phone_id columns....may be? Is null valid for you? &lt;BR /&gt;You can't use replaceAll method on a null istance (of row2.phone_id).&lt;BR /&gt;test before call: &lt;BR /&gt;&lt;BR /&gt;row2.phone_id==null?"":row2.phone_id.replaceAll( "[^\\d]", "" )</description>
    <pubDate>Wed, 18 Jan 2017 10:21:15 GMT</pubDate>
    <dc:creator>gorotman</dc:creator>
    <dc:date>2017-01-18T10:21:15Z</dc:date>
    <item>
      <title>Remove non-numeric charcaters from a string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317073#M87559</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;In want to keep only numeric (0 to 9) characters from a string.&lt;BR /&gt;&lt;BR /&gt;I use the following code, which doesn't work.&lt;BR /&gt;(row2.phone_id).replaceAll( "[^\\d]", "" )&lt;BR /&gt;Which code should I use ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 08:13:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317073#M87559</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-18T08:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Remove non-numeric charcaters from a string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317074#M87560</link>
      <description>Hi, your code works (I tested it with TOS 6.2.1, tJava component and string "AAA12345BBB67890CCC").&lt;BR /&gt;Do you have errors or unexpected result?</description>
      <pubDate>Wed, 18 Jan 2017 09:29:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317074#M87560</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2017-01-18T09:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Remove non-numeric charcaters from a string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317075#M87561</link>
      <description>Exception in component tMap_1&lt;BR /&gt;java.lang.NullPointerException</description>
      <pubDate>Wed, 18 Jan 2017 10:10:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317075#M87561</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-18T10:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Remove non-numeric charcaters from a string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317076#M87562</link>
      <description>ok , probably input flow has null values in phone_id columns....may be? Is null valid for you? &lt;BR /&gt;You can't use replaceAll method on a null istance (of row2.phone_id).&lt;BR /&gt;test before call: &lt;BR /&gt;&lt;BR /&gt;row2.phone_id==null?"":row2.phone_id.replaceAll( "[^\\d]", "" )</description>
      <pubDate>Wed, 18 Jan 2017 10:21:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317076#M87562</guid>
      <dc:creator>gorotman</dc:creator>
      <dc:date>2017-01-18T10:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Remove non-numeric charcaters from a string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317077#M87563</link>
      <description>Works fine, thanks.</description>
      <pubDate>Wed, 18 Jan 2017 10:30:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317077#M87563</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2017-01-18T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Remove non-numeric charcaters from a string</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317078#M87564</link>
      <description>&lt;P&gt;Just I tried like below and it worked out :&amp;nbsp;&lt;/P&gt;&lt;P&gt;row7.data.substring(11,19).replaceAll("[a-zA-Z]", "")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 06:14:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Remove-non-numeric-charcaters-from-a-string/m-p/2317078#M87564</guid>
      <dc:creator>gtaware</dc:creator>
      <dc:date>2019-11-21T06:14:22Z</dc:date>
    </item>
  </channel>
</rss>

