<?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 How to check the first three position in a input data are alpha or numeric in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206952#M6798</link>
    <description>I need to check some condition to satisfy before inserting a data into target.&lt;BR /&gt;- First three position in a input should be alpha or numeric &amp;amp; if it is alpha should be uppercase.&lt;BR /&gt;-the first letter can be alpha or a special character '.'</description>
    <pubDate>Sun, 16 Apr 2017 17:53:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-16T17:53:28Z</dc:date>
    <item>
      <title>How to check the first three position in a input data are alpha or numeric</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206952#M6798</link>
      <description>I need to check some condition to satisfy before inserting a data into target.&lt;BR /&gt;- First three position in a input should be alpha or numeric &amp;amp; if it is alpha should be uppercase.&lt;BR /&gt;-the first letter can be alpha or a special character '.'</description>
      <pubDate>Sun, 16 Apr 2017 17:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206952#M6798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-16T17:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the first three position in a input data are alpha or numeric</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206953#M6799</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Could you please elaborate your case with an example with input and expected output values?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 04:53:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206953#M6799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-17T04:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the first three position in a input data are alpha or numeric</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206954#M6800</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You need a regex in such a case.&lt;/P&gt; 
&lt;P&gt;Suppose you have the following data flow (here in a tFixedFlowInput):&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFixedInput.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltd1.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128089iF979B35C9F20613A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltd1.png" alt="0683p000009Ltd1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Connect the&amp;nbsp;&lt;SPAN&gt;tFixedFlowInput with a tMap and configure it as:&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="tMap.PNG" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LuCs.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148055i6040C21BCB0FF09A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LuCs.png" alt="0683p000009LuCs.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The tMap contains 2 output flows called "accepted" and "rejected" (see "Catch out rejected" option for the 2nd flow).&lt;/P&gt; 
&lt;P&gt;A filter is set for the "accepted" flow using the following regex:&lt;/P&gt; 
&lt;PRE&gt;row1.value.matches("^\\..*") || row1.value.matches("^[0-9|A-Z]{3}.*")&lt;/PRE&gt; 
&lt;P&gt;This filter accept 2 kind of rows:&lt;/P&gt; 
&lt;P&gt;- rows starting with a "." followed by any sequence of characters&lt;/P&gt; 
&lt;P&gt;- rows starting by a sequence of 3&amp;nbsp;characters composed by digits (0-9) or uppercase letters (A-Z)&amp;nbsp;&lt;SPAN&gt;followed by&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;any sequence of characters&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;And the result is:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="result.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ltvj.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152792iDD2E6CEDD6372294/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ltvj.png" alt="0683p000009Ltvj.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Hope this is what you expect.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 11:11:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-check-the-first-three-position-in-a-input-data-are-alpha/m-p/2206954#M6800</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2017-04-17T11:11:14Z</dc:date>
    </item>
  </channel>
</rss>

