<?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: How to remove ascii character from a text file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249673#M34141</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPVDAA4"&gt;@Aish123&lt;/A&gt;&amp;nbsp;, I suggest you read file entire row as a single column and use the below expression to remove the asscii characters and generate a new file and use it next using&amp;nbsp;&lt;SPAN&gt;tFileInputMSPositional.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;row1.inputField.replaceAll("\\D", "")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 May 2020 08:08:17 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-05-13T08:08:17Z</dc:date>
    <item>
      <title>How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249672#M34140</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have text file with multiple rows and each row has a different schema definition.&lt;/P&gt; 
&lt;P&gt;Along with this, there is a lot of junk data in form of ascii characters which needs to be removed.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can anyone please help how this can be achieved in a file with multiple schema structure as the characters are not specific they keep on changing and the location too keeps on changing?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I got a reference of a regular expression from Talend community which can help achieve this task&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;row1.inputField.replaceAll("\\D", "")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But my input component for reading a text file is "tFileInputMSPositional" in which i have defined the schemas for all the rows, but when i am trying to connect it to "tReplace" only one row can be selected at a time.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please suggest how to achieve this using "treplace" or "tmap"?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 07:34:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249672#M34140</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-05-13T07:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249673#M34141</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPVDAA4"&gt;@Aish123&lt;/A&gt;&amp;nbsp;, I suggest you read file entire row as a single column and use the below expression to remove the asscii characters and generate a new file and use it next using&amp;nbsp;&lt;SPAN&gt;tFileInputMSPositional.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;PRE&gt;row1.inputField.replaceAll("\\D", "")&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249673#M34141</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-13T08:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249674#M34142</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be really helpful if you tell me how to read a single row as a single cplumn?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249674#M34142</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-05-13T08:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249675#M34143</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPVDAA4"&gt;@Aish123&lt;/A&gt;, you can try to read using tfileinputraw.&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:20:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249675#M34143</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-13T08:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249676#M34144</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please show me this by creating a simple job for better understanding?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:54:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249676#M34144</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-05-13T08:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249677#M34145</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LPVDAA4"&gt;@Aish123&lt;/A&gt;&amp;nbsp;, can you share sample file?&lt;/P&gt;</description>
      <pubDate>Wed, 13 May 2020 08:56:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249677#M34145</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-13T08:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249678#M34146</link>
      <description>&lt;P&gt;Hi please find the attached sample file.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Maoi"&gt;special_character.txt&lt;/A&gt;</description>
      <pubDate>Wed, 13 May 2020 10:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249678#M34146</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-05-13T10:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove ascii character from a text file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249679#M34147</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you please help me in this issue.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a text file with around 5lakh rows.&lt;/P&gt; 
&lt;P&gt;There are some set of rows which forms a part of one case, there are almost 13-14 lines which form a part of one case.&lt;/P&gt; 
&lt;P&gt;These 14 rows have different schema pattern and every row has different column no.&lt;/P&gt; 
&lt;P&gt;Row 1 - 70 columns&lt;/P&gt; 
&lt;P&gt;Row2 - 40 columns and so on.&lt;/P&gt; 
&lt;P&gt;These rows have multiple special character but there positions are not fixed.&lt;/P&gt; 
&lt;P&gt;There are some special characters like ". , : -" should be a part of our data.&lt;/P&gt; 
&lt;P&gt;But apart from these there are some special characters which needs to be replaced with blank as it is a junk data.&lt;/P&gt; 
&lt;P&gt;Can you tell me how can i achieve this as after cleaning this file i have to create an XML file as the output.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 May 2020 08:50:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-remove-ascii-character-from-a-text-file/m-p/2249679#M34147</guid>
      <dc:creator>Aish123</dc:creator>
      <dc:date>2020-05-18T08:50:34Z</dc:date>
    </item>
  </channel>
</rss>

