<?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: Writing regular expression in tmap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318725#M89042</link>
    <description>Can you check, if source columns are of fixed width?&lt;BR /&gt;Are column starting positions are always same in source file??</description>
    <pubDate>Thu, 09 Nov 2017 09:08:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-09T09:08:10Z</dc:date>
    <item>
      <title>Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318707#M89024</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to write&amp;nbsp;regular expression in tmap.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source column data.&lt;/P&gt;
&lt;P&gt;02 04OCT 10:48:16&amp;nbsp;220001 .&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;col1&amp;nbsp; col2&amp;nbsp; &amp;nbsp; &amp;nbsp; col3&amp;nbsp; &amp;nbsp; &amp;nbsp; col4&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;02,&amp;nbsp; 04OCT,&amp;nbsp; 10:48:16,&amp;nbsp;220001&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Shree&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 06:26:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318707#M89024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T06:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318708#M89025</link>
      <description>What about doing below?&lt;BR /&gt;col1=source_col.split(' ')[0]&lt;BR /&gt;col2=source_col.split(' ')[1]&lt;BR /&gt;col3=source_col.split(' ')[2]&lt;BR /&gt;and so on??</description>
      <pubDate>Tue, 07 Nov 2017 08:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318708#M89025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T08:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318709#M89026</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You could use&amp;nbsp;tFileInputRegex or tExtractRegexFields components.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 08:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318709#M89026</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T08:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318710#M89027</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLV2AAO"&gt;@eric44&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i have multiple columns for single file like that, i can't use single tFileInputRegex or tExtractRegexFields components if am correct.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Coulm1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;column 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;column 3&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;02 04OCT 10:48:16 220001 .&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;SPAN&gt;13:38:16 220001&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;220001 12OCT 2.4CR&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;i need to insert records single records to multiple&amp;nbsp;columns based on regular expression in tmap or substr functions.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Shree&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318710#M89027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T09:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318711#M89028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am getting error. PFA screen shot for references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Shree&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrNm"&gt;screen shot.png&lt;/A&gt;</description>
      <pubDate>Tue, 07 Nov 2017 09:12:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318711#M89028</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T09:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318712#M89029</link>
      <description>Please use the below expression for splitting
&lt;BR /&gt;source_col.split("\\s+")</description>
      <pubDate>Tue, 07 Nov 2017 11:36:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318712#M89029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T11:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318713#M89030</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;I am facing error.&lt;/P&gt;
&lt;P&gt;Source data for single column,&lt;BR /&gt;02 2OCT 10:57:37&lt;/P&gt;
&lt;P&gt;Expected output:&lt;BR /&gt;col1 col2 col3&lt;BR /&gt;02 2OCT 10:57:37.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PFA files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And,&amp;nbsp;Let me clear my requirement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Coulm1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; column 2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;column 3&lt;BR /&gt;02 04OCT 10:48:16&amp;nbsp; 220001 .&amp;nbsp; &amp;nbsp;13:38:16 220001 220001&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12OCT 2.4CR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;colu1&amp;nbsp; col2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col5&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; col6&amp;nbsp; &amp;nbsp; &amp;nbsp;col7&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col 8&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col9&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;02&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;04OCT&amp;nbsp;10:48:16&amp;nbsp;&amp;nbsp;220001&amp;nbsp;13:38:16&amp;nbsp;&amp;nbsp;220001&amp;nbsp;220001&amp;nbsp; &amp;nbsp;12OCT&amp;nbsp;&amp;nbsp;2.4CR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Shree&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lr8p"&gt;error.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrNe"&gt;tmap.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 08 Nov 2017 04:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318713#M89030</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T04:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318714#M89031</link>
      <description>Use below expression:
&lt;BR /&gt;col1=source_col.split("\\s+")[0]
&lt;BR /&gt;col2=source_col.split("\\s+")[1]
&lt;BR /&gt;
&lt;BR /&gt;and so on</description>
      <pubDate>Wed, 08 Nov 2017 04:28:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318714#M89031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T04:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318715#M89032</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks, As per requirement is working fine.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But one issue i am facing. it not handling space or blank..&lt;/P&gt; 
&lt;P&gt;Source data for single column,&lt;BR /&gt;02 2OCT 10:57:37&amp;nbsp; &amp;lt;space&amp;gt; 20&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;02 2OCT 10:57:37&amp;nbsp; &amp;nbsp; &amp;nbsp;23&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Current output:&lt;BR /&gt;col1 col2 col3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; col4&lt;BR /&gt;02 2OCT 10:57:37. 20&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;02 2OCT 10:57:37&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;23&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Expected output:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;col1 col2 col3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col4&amp;nbsp; &amp;nbsp; &amp;nbsp;col5&lt;BR /&gt;02 2OCT 10:57:37. &amp;lt;space&amp;gt; 20&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;02 2OCT 10:57:37&amp;nbsp; &amp;nbsp; &amp;nbsp;20&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;23&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;i am attching two records for your references.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Shree&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrO2"&gt;saample.txt&lt;/A&gt;</description>
      <pubDate>Wed, 08 Nov 2017 05:53:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318715#M89032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T05:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318716#M89033</link>
      <description>Use below expression 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;remove + sign) 
&lt;BR /&gt;col1=source_col.split("\\s")[0] 
&lt;BR /&gt;col2=source_col.split("\\s")[1] 
&lt;BR /&gt; 
&lt;BR /&gt;and so on</description>
      <pubDate>Wed, 08 Nov 2017 06:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318716#M89033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T06:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318717#M89034</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tested problem is, the source is coming with single space and multiple space.&lt;/P&gt; 
&lt;P&gt;So it create mutiple columns unnecessary and some records moving next columns.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ex:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;input:&lt;/P&gt; 
&lt;P&gt;colun1&lt;/P&gt; 
&lt;P&gt;12 &amp;lt;space&amp;gt;&lt;/P&gt; 
&lt;P&gt;13&amp;nbsp;&lt;SPAN&gt;&amp;lt;space&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;space&amp;gt;&amp;nbsp; 26&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;output:&lt;/P&gt; 
&lt;P&gt;colu1&amp;nbsp; &amp;nbsp; &amp;nbsp; col2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; col4&lt;/P&gt; 
&lt;P&gt;12&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;space&amp;gt;&lt;/P&gt; 
&lt;P&gt;13&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;space&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN&gt;&amp;lt;space&amp;gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;26&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Shree&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 07:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318717#M89034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T07:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318718#M89035</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea on how to over come on issue with multiple space.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Shree&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318718#M89035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318719#M89036</link>
      <description>Let's try to replace multiple spaces on source:&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;Source_col.trim().replaceAll("\\s+", "\\s");</description>
      <pubDate>Wed, 08 Nov 2017 09:40:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318719#M89036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T09:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318720#M89037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Records are inserting whole column names into single columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am attaching screen shot for references.&amp;nbsp; Kindly help me on this we are near to close issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Shree&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrNO"&gt;2.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LrOR"&gt;1.PNG&lt;/A&gt;</description>
      <pubDate>Wed, 08 Nov 2017 11:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318720#M89037</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T11:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318721#M89038</link>
      <description>&lt;P&gt;First try to read whole line into single column using TfileInputFullRow.&lt;/P&gt;
&lt;P&gt;Then use tmap to replace multiple space to single space.&amp;nbsp;&lt;SPAN&gt;Source_col.trim().replaceAll("\\s+", "\\s");&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;After that use TExtractDelimitedFields to split the column based on space to multiple columns.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Got some idea?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Sorry. I don't have access to studio. Cant attach job or snaps&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 14:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318721#M89038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-08T14:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318722#M89039</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sure,&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;TfileInputFullRow ----&amp;gt; tmap --&amp;gt; tfileoutputfiledelimited.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am getting&amp;nbsp;values multiple&amp;nbsp;space and single space&amp;nbsp;with &lt;STRONG&gt;"s".&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Ex:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;colu:&lt;/P&gt;
&lt;P&gt;02 24OCT 10:57:37&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;P&gt;02s24OCTs10:57:37s4246899014&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How to replace "&lt;STRONG&gt;s&lt;/STRONG&gt;" wiht space or any other delimiter. Before jumping to&amp;nbsp;&lt;SPAN&gt;TExtractDelimitedFields.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Or, using TExtractDelimitedFields&amp;nbsp; it will handle "s" values between fileds?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Shree&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 03:57:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318722#M89039</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T03:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318723#M89040</link>
      <description>No need to replace. In textractdelimetedfields, use s as delimetre. It will separate column based on s</description>
      <pubDate>Thu, 09 Nov 2017 04:49:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318723#M89040</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T04:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318724#M89041</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMPUAA4"&gt;@Chirgal&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Everything is fine, challenge i am facing column issue. Please check below example.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Ex: Source data&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;12&lt;STRONG&gt; &lt;STRONG&gt;&amp;lt;space&amp;gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;03oct&lt;STRONG&gt; &lt;STRONG&gt;&amp;lt;space&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;13:21:21&lt;STRONG&gt;&amp;nbsp; &amp;lt;space&amp;gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;space&amp;gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;121212&amp;nbsp;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;13&lt;STRONG&gt; &lt;STRONG&gt;&amp;lt;space&amp;gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/STRONG&gt;05oct&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;&amp;lt;space&amp;gt;&lt;/STRONG&gt;&lt;/STRONG&gt;12:2:11&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;&amp;nbsp;&lt;STRONG&gt;&amp;lt;space&amp;gt;&lt;/STRONG&gt; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;0101&lt;STRONG&gt;&amp;nbsp; &lt;STRONG&gt;&amp;lt;space&amp;gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;121212&amp;nbsp;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Intermediate result after removing multiple space.&lt;/P&gt; 
&lt;P&gt;colum1:&lt;/P&gt; 
&lt;P&gt;12&lt;STRONG&gt;s&lt;/STRONG&gt;03oct&lt;STRONG&gt;s&lt;/STRONG&gt;13:21:21&lt;STRONG&gt;s&lt;/STRONG&gt;121212&lt;STRONG&gt;s...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;13&lt;STRONG&gt;s&lt;/STRONG&gt;05oct&lt;STRONG&gt;s&lt;/STRONG&gt;12:2:11&lt;STRONG&gt;s&lt;/STRONG&gt;0101&lt;STRONG&gt;s&lt;/STRONG&gt;121212&lt;STRONG&gt;s...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Current output am getting&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;col0&amp;nbsp; &amp;nbsp;col1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; col2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col3 ..&amp;nbsp; &amp;nbsp; &amp;nbsp;col4&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;12&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;03oct&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;13:21:21&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;121212&amp;nbsp; ...&lt;/P&gt; 
&lt;P&gt;13&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;05oct&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;12:2:11&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;0101&amp;nbsp; &amp;nbsp; 121212 &lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Expected ouptut&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;col0&amp;nbsp; &amp;nbsp;col1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;col2&amp;nbsp; &amp;nbsp; &amp;nbsp; col3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; col4&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;12&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;03oct&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;13:21:21&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;121212 ...&lt;/P&gt; 
&lt;P&gt;13&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;05oct&lt;STRONG&gt;&amp;nbsp; &amp;nbsp;&lt;/STRONG&gt;12:2:11&lt;STRONG&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;0101&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;121212&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;...&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Thanks&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;Shree&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 05:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318724#M89041</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T05:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318725#M89042</link>
      <description>Can you check, if source columns are of fixed width?&lt;BR /&gt;Are column starting positions are always same in source file??</description>
      <pubDate>Thu, 09 Nov 2017 09:08:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318725#M89042</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T09:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Writing regular expression in tmap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318726#M89043</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Chirgal,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;No, If you ask me&amp;nbsp; length of the columns is fixed: No,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;i am tried with regex and positional&amp;nbsp;file. it not working as expecting.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Same issue with &amp;lt;space&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shree&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 09:45:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Writing-regular-expression-in-tmap/m-p/2318726#M89043</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-09T09:45:11Z</dc:date>
    </item>
  </channel>
</rss>

