<?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 Removing parentheses and dash in a tMap String Expression in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251991#M35775</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have input file with telephone numbers in this format (###) ###-####.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the output column I need the telephone to be in this format ##########. (No parentheses dash or spaces)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I know how I can remove the parentheses with this function.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.phone.replaceAll("\\(", "").replaceAll("\\)","")&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone edit this string method so it will remove the dash and space between the area code and the actual number?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Andrew&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 14:55:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-03-13T14:55:16Z</dc:date>
    <item>
      <title>Removing parentheses and dash in a tMap String Expression</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251991#M35775</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have input file with telephone numbers in this format (###) ###-####.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In the output column I need the telephone to be in this format ##########. (No parentheses dash or spaces)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I know how I can remove the parentheses with this function.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.phone.replaceAll("\\(", "").replaceAll("\\)","")&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone edit this string method so it will remove the dash and space between the area code and the actual number?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Andrew&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 14:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251991#M35775</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-13T14:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Removing parentheses and dash in a tMap String Expression</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251992#M35776</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This one removes all non-digit characters:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;row1.phone.replaceAll("[^0-9]", "")&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:11:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251992#M35776</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-03-13T15:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing parentheses and dash in a tMap String Expression</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251993#M35777</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If I wanted to remove $ sign from a Currency value what would be the syntax for that?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row1.Amount.replaceALL("$","") is not working for me.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I can't use your String Method because it would remove the . separating Dollar and Cents.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My input Column has values like $20.00 $100.00 $5.00 etc&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 14:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251993#M35777</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-14T14:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing parentheses and dash in a tMap String Expression</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251994#M35778</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLGFAA4"&gt;@sm&lt;/A&gt;&amp;nbsp; as your requirement is&amp;nbsp;miscellaneous its better we write a java routine and call in the tMap. You can exactly define routine as per your need.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 14:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251994#M35778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-14T14:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Removing parentheses and dash in a tMap String Expression</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251995#M35779</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;row1.input_col.replaceAll("[^\\d\\.\\,\\s]+", "")&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 15:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Removing-parentheses-and-dash-in-a-tMap-String-Expression/m-p/2251995#M35779</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-03-14T15:02:53Z</dc:date>
    </item>
  </channel>
</rss>

