<?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: Match Regular expression with tFilterRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261362#M42170</link>
    <description>hi Zohaib, 
&lt;BR /&gt;in fact it's pretty simple. 
&lt;BR /&gt;For example let's match for compliance mail ! (a classic). 
&lt;BR /&gt;In the 'advanced mode' write your condition with the convinience method 
&lt;B&gt;matches&lt;/B&gt;. it does the work for you 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;first arg : your regular expression 
&lt;BR /&gt;second arg : string to be parse 
&lt;BR /&gt;the method return boolean 
&lt;BR /&gt;For 'true' goes into filter flow ; when 'false' goes into reject flow. 
&lt;BR /&gt;Right, in my example all email are correct; made one wrong and it goes in reject ... 
&lt;BR /&gt;now you have to write your regex 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;hope it help 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
    <pubDate>Mon, 19 Jul 2010 21:23:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-07-19T21:23:43Z</dc:date>
    <item>
      <title>Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261358#M42166</link>
      <description>Hi 
&lt;BR /&gt;I tried to use advanced settings of tFilterRow to filter dataflow with regexp, but lacking java knowledge stopped me 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Could someone paste a sample java code for matching with regexp? 
&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Sat, 16 Nov 2024 14:17:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261358#M42166</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261359#M42167</link>
      <description>I have a similar question to Ruben, I need to have regex expressions in tFilterRow to filter out invalid data type entries from a CSV file.
&lt;BR /&gt;Thanks for your help.
&lt;BR /&gt;Zohaib</description>
      <pubDate>Mon, 19 Jul 2010 15:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261359#M42167</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-07-19T15:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261360#M42168</link>
      <description>hi all,&lt;BR /&gt;Have a look at &lt;A href="http://download.oracle.com/docs/cd/E17476_01/javase/1.4.2/docs/api/java/util/regex/Pattern.html#matches%28java.lang.String,%20java.lang.CharSequence%29" target="_blank" rel="nofollow noopener noreferrer"&gt;api java regex&lt;/A&gt; for matches method !&lt;BR /&gt;hope it help&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 19 Jul 2010 15:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261360#M42168</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T15:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261361#M42169</link>
      <description>Kzone,&lt;BR /&gt;I'm a newbie to Talend. Could you please let me know where can I write the code that you suggested for the CLASS.&lt;BR /&gt;An screenshot or a sample would be of great help.&lt;BR /&gt;Thanks a lot,&lt;BR /&gt;Zohaib</description>
      <pubDate>Mon, 19 Jul 2010 18:41:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261361#M42169</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-07-19T18:41:10Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261362#M42170</link>
      <description>hi Zohaib, 
&lt;BR /&gt;in fact it's pretty simple. 
&lt;BR /&gt;For example let's match for compliance mail ! (a classic). 
&lt;BR /&gt;In the 'advanced mode' write your condition with the convinience method 
&lt;B&gt;matches&lt;/B&gt;. it does the work for you 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;first arg : your regular expression 
&lt;BR /&gt;second arg : string to be parse 
&lt;BR /&gt;the method return boolean 
&lt;BR /&gt;For 'true' goes into filter flow ; when 'false' goes into reject flow. 
&lt;BR /&gt;Right, in my example all email are correct; made one wrong and it goes in reject ... 
&lt;BR /&gt;now you have to write your regex 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;hope it help 
&lt;BR /&gt;regards 
&lt;BR /&gt;laurent</description>
      <pubDate>Mon, 19 Jul 2010 21:23:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261362#M42170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T21:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261363#M42171</link>
      <description>Thanks Kzone!</description>
      <pubDate>Mon, 19 Jul 2010 21:29:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261363#M42171</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2010-07-19T21:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261364#M42172</link>
      <description>you welcome 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 19 Jul 2010 21:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261364#M42172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-19T21:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261365#M42173</link>
      <description>Hi I am wondering how to ignore or filter out some data from Input file.&lt;BR /&gt;I have columns with no data. and they need to be filtered in the out put file.&lt;BR /&gt;How to use TFilterRow ?</description>
      <pubDate>Fri, 02 Sep 2011 03:51:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261365#M42173</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-09-02T03:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261366#M42174</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi I am wondering how to ignore or filter out some data from Input file.&lt;BR /&gt;I have columns with no data. and they need to be filtered in the out put file.&lt;BR /&gt;How to use TFilterRow ?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Yes, tFilterRow or tMap component can used to do the filter.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 02 Sep 2011 05:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261366#M42174</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-09-02T05:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261367#M42175</link>
      <description>Hi , 
&lt;BR /&gt;I tried to use the advance mode in the tFilterRow to use a regex . 
&lt;BR /&gt;here is the regex : input_row.etab.matches("\"12206\"|\"12906\"|\"16006\"") (i also tried without the \ ) 
&lt;BR /&gt;heres is the data I wont to filter :12206 - CR22 
&lt;BR /&gt;12906 - CR29 
&lt;BR /&gt;13306 - CRAQ 
&lt;BR /&gt;13606 - CRIV 
&lt;BR /&gt;14445 - CEBPL 
&lt;BR /&gt;14706 - CRAV 
&lt;BR /&gt;16006 - CR56 
&lt;BR /&gt;16275 - CENFE 
&lt;BR /&gt;17906 - CRAM 
&lt;BR /&gt;18025 - CEPIC 
&lt;BR /&gt;19406 - CRTP 
&lt;BR /&gt; 
&lt;BR /&gt;at the end i should have the row with 
&lt;BR /&gt;12206 12906 et 16006. 
&lt;BR /&gt;Instead I got nothing . 
&lt;BR /&gt;What did I miss ?? 
&lt;BR /&gt;PS , I also tried : java.util.regex.Pattern.matches("12206|12906|16006", input_row.etab) and got the same results.</description>
      <pubDate>Tue, 03 Jan 2012 13:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261367#M42175</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-01-03T13:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261368#M42176</link>
      <description>Here is the solution. 
&lt;BR /&gt;It seems the v5 can not handle expression like "12206|12906|16006" or even ("\"12206\"|\"12906\"|\"16006\"") in the basic condition. 
&lt;BR /&gt;Using advance mode does not work either for things input_row.etab.matches("12206|12906|16006") 
&lt;BR /&gt;So I used java.util.regex.Pattern.compile("12206|12906|16006").matcher(input_row.etab).find() to filter my data . 
&lt;BR /&gt;And this time it works . 
&lt;BR /&gt;Hope this help, someone else . 
&lt;BR /&gt;Happy new year . 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi , &lt;BR /&gt;I tried to use the advance mode in the tFilterRow to use a regex . &lt;BR /&gt;here is the regex : input_row.etab.matches("\"12206\"|\"12906\"|\"16006\"") (i also tried without the \ )&lt;BR /&gt;heres is the data I wont to filter :12206 - CR22&lt;BR /&gt;12906 - CR29&lt;BR /&gt;13306 - CRAQ&lt;BR /&gt;13606 - CRIV&lt;BR /&gt;14445 - CEBPL&lt;BR /&gt;14706 - CRAV&lt;BR /&gt;16006 - CR56&lt;BR /&gt;16275 - CENFE &lt;BR /&gt;17906 - CRAM&lt;BR /&gt;18025 - CEPIC&lt;BR /&gt;19406 - CRTP&lt;BR /&gt;&lt;BR /&gt;at the end i should have the row with &lt;BR /&gt;12206 12906 et 16006.&lt;BR /&gt;Instead I got nothing .&lt;BR /&gt;What did I miss ??&lt;BR /&gt;PS , I also tried : java.util.regex.Pattern.matches("12206|12906|16006", input_row.etab) and got the same results.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 03 Jan 2012 14:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261368#M42176</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-01-03T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Match Regular expression with tFilterRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261369#M42177</link>
      <description>Hello,
&lt;BR /&gt;this works very well. I have an additional question:
&lt;BR /&gt;How can I customize the error message from the advanced condition.
&lt;BR /&gt;I would like the error message to not state "advanced condition failed" but "irregular e-mail adress" for example
&lt;BR /&gt;thanks for any input!</description>
      <pubDate>Wed, 24 Oct 2012 08:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Match-Regular-expression-with-tFilterRow/m-p/2261369#M42177</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-10-24T08:55:08Z</dc:date>
    </item>
  </channel>
</rss>

