<?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 multiple reguler expression in one file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294478#M67347</link>
    <description>I have text file. i need to identify multiple patten in it.
&lt;BR /&gt;------------------------------------
&lt;BR /&gt;eg.
&lt;BR /&gt;data : 100
&lt;BR /&gt;tax&amp;nbsp; : 300
&lt;BR /&gt;hardware: 400
&lt;BR /&gt;cost : 2000
&lt;BR /&gt;------------------------------------
&lt;BR /&gt;similar data will be in other files also.
&lt;BR /&gt;so i have to write 4 regular expressions
&lt;BR /&gt;like 
&lt;BR /&gt;1. ****
&lt;BR /&gt;2. ****
&lt;BR /&gt;3. ****
&lt;BR /&gt;4. ****
&lt;BR /&gt;
&lt;BR /&gt;how do i do that in talend.
&lt;BR /&gt;an Example will be good.
&lt;BR /&gt;Thanks</description>
    <pubDate>Fri, 15 May 2015 08:07:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-05-15T08:07:11Z</dc:date>
    <item>
      <title>multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294478#M67347</link>
      <description>I have text file. i need to identify multiple patten in it.
&lt;BR /&gt;------------------------------------
&lt;BR /&gt;eg.
&lt;BR /&gt;data : 100
&lt;BR /&gt;tax&amp;nbsp; : 300
&lt;BR /&gt;hardware: 400
&lt;BR /&gt;cost : 2000
&lt;BR /&gt;------------------------------------
&lt;BR /&gt;similar data will be in other files also.
&lt;BR /&gt;so i have to write 4 regular expressions
&lt;BR /&gt;like 
&lt;BR /&gt;1. ****
&lt;BR /&gt;2. ****
&lt;BR /&gt;3. ****
&lt;BR /&gt;4. ****
&lt;BR /&gt;
&lt;BR /&gt;how do i do that in talend.
&lt;BR /&gt;an Example will be good.
&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 15 May 2015 08:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294478#M67347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-15T08:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294479#M67348</link>
      <description>I think you need to explain in more detail why you need to do this. For example, if it is to identify rows holding the data and extract it, you can simply use Java String methods to identify the row from finding "data" in the text and then extract the number from the string a row at a time using a tMap, for example. You can of course use a regex to do this, but from what you have given you may as well just search for the leading word (data, tax, hardware, cost).&amp;nbsp;</description>
      <pubDate>Fri, 15 May 2015 09:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294479#M67348</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-15T09:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294480#M67349</link>
      <description>Hi, 
&lt;BR /&gt;I didn't quite understand you(as I am new to talend).Can you give me an example??? 
&lt;BR /&gt;I ll explain my problem again, 
&lt;BR /&gt;as you can see in image (Highlited red) i wrote a&amp;nbsp; regular expression and I am getting results for it.For my project I need only few values from that file. say i need 5 values from file and i have to write 5 separate regex for that.can I do that in talend and how??? 
&lt;BR /&gt;Thanks, 
&lt;BR /&gt;Pankaj</description>
      <pubDate>Mon, 18 May 2015 11:29:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294480#M67349</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T11:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294481#M67350</link>
      <description>Whatever you are wanting to do to extract data from your file, YES you can do it with Talend. The problem I have is that your requirement is not clear. I cannot see the image that you say you have added. Maybe that will make things a bit clearer for me.&amp;nbsp;</description>
      <pubDate>Mon, 18 May 2015 11:45:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294481#M67350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T11:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294482#M67351</link>
      <description>For some reason i am not able post images and file .&lt;BR /&gt;here is example ,&lt;BR /&gt;input file:&lt;BR /&gt;&lt;BR /&gt;FLIGHTS STATEMENT The Supervisor&lt;BR /&gt;&lt;B&gt;DATE&lt;/B&gt;: 02/09/2013 &lt;B&gt;PERIODE&lt;/B&gt;: 1308 E‘g§$?‘§$;'§ggE$i%(9g’:f’8;DAN STS&lt;BR /&gt;&lt;B&gt;REF&lt;/B&gt;: PFO/102201/1308/01 PAGE: 2/3 MASCOT&lt;BR /&gt;ORDRE5 13/0254 QFA NSW 2020 AUSTRALIA&lt;BR /&gt;N“ Jour Heure N° Vol lmmat. Type MMD (t) Prov. Dest. Distance A déduire Redevance&lt;BR /&gt;&lt;B&gt;Day Time Flight # Registr. AC Type MTOW From To (km) Deducted Charge&lt;/B&gt;&lt;BR /&gt;1 3 07:21 QFA107 VHOJU B744 397,2 YSSY KLAX 1036 995,65&lt;BR /&gt;2 3 09:06 QFA7 VHOEH B744 412,7 YSSY KDFW 3689 3 608,20&lt;BR /&gt;3 4 09:01 QFA7 VHOEJ B744 412,7 YSSY KDFW 2872 2 809,09&lt;BR /&gt;4 4 10:26 QFA8 VHOEH B744 412,7 KDFW YBBN 300 293,43&lt;BR /&gt;5 5 08:30 QFA7 VHOEG B744 412,7 YSSY KDFW 5193 5 079,25&lt;BR /&gt;6 6 08:26 QFA7 VHOEJ B744 412,7 YSSY KDFW 5296 5 180,00&lt;BR /&gt;7 13 09:11 QFA7 VHOEE B744 412,7 YSSY KDFW 3080 3 012,54&lt;BR /&gt;8 14 08:59 QFA7 VHOEG B744 412,7 YSSY KDFW 3378 3 304,01&lt;BR /&gt;9 15 05:34 QFA107 VHOEJ B744 412,7 YSSY KLAX 3141 3 072,20&lt;BR /&gt;10 15 08:27 QFA11 VHOJL B744 397,2 YSSY KLAX 3208 3 083,07&lt;BR /&gt;11 15 08:53 QFA7 VHOEE B744 412,7 YSSY KDFW 3393 3 318,68&lt;BR /&gt;12 16 05:45 QFA107 VHOEF B744 412,7 YSSY KLAX 3185 3115,24&lt;BR /&gt;13 16 09:10 QFA11 VHOQC A388 569 YSSY KLAX 2852 3 275,51&lt;BR /&gt;14 16 09:19 QFA7 VHOEG B744 412,7 YSSY KDFW 3307 3 234,56&lt;BR /&gt;15 16 09:43 QFA93 VHOQA A388 569 YMML KLAX 3222 3 700,45&lt;BR /&gt;16 17 06:01 QFA93 VHOQL A388 569 YMML KLAX 1957 2 247,61&lt;BR /&gt;17 17 06:19 QFA107 VHOJU B744 397,2 YSSY KLAX 1142 1 097,53&lt;BR /&gt;18 17 09:42 QFA7 VHOEJ B744 412,7 YSSY KDFW 1946 1 903,37&lt;BR /&gt;19 18 05:52 QFA93 VHOQH A388 569 YMML KLAX 2235 2 566,89&lt;BR /&gt;20 18 06:25 QFA107 VHOEF B744 412,7 YSSY KLAX 1175 1 149,26&lt;BR /&gt;21 18 08:58 QFA7 VHOEG B744 412,7 YSSY KDFW 3239 3 168,05&lt;BR /&gt;22 18 09:10 QFA11 VHOQD A388 569 YSSY KLAX 1956 2 246,46&lt;BR /&gt;23 19 06:32 QFA93 VHOQI A388 569 YMML KLAX 616 707,47&lt;BR /&gt;24 19 09:47 QFA7 VHOEI B744 412,7 YSSY KDFW 1695 1 657,87&lt;BR /&gt;25 20 09:57 QFA7 VHOEG B744 412,7 YSSY KDFW 159 155,52&lt;BR /&gt;26 22 08:38 QFA7 VHOEG B744 412,7 YSSY KDFW 3902 3 816,53&lt;BR /&gt;27 23 08:29 QFA7 VHOEF B744 412,7 YSSY KDFW 3728 3 646,34&lt;BR /&gt;28 24 06:34 QFA93 VHOQC A388 569 YMML KLAX 991 1 138,16&lt;BR /&gt;29 24 06:36 QFA107 VHOJU B744 397,2 YSSY KLAX 233 223,93&lt;BR /&gt;30 24 09:11 QFA7 VHOEE B744 412,7 YSSY KDFW 2863 2 800,29&lt;BR /&gt;31 25 09:04 QFA7 VHOEF B744 412,7 YSSY KDFW 4414 4 317,32&lt;BR /&gt;32 26 09:06 QFA7 VHOEE B744 412,7 YSSY KDFW 4773 4 668,45&lt;BR /&gt;33 27 08:34 QFA7 VHOEI B744 412,7 YSSY KDFW 4498 4 399,48&lt;BR /&gt;34 28 09:20 QFA7 VHOEF B744 412,7 YSSY KDFW 2391 2 338,63&lt;BR /&gt;35 29 09:38 QFA7 VHOEI B744 412,7 YSSY KDFW 2042 1 997,27&lt;BR /&gt;36 30 08:46 QFA7 VHOEJ B744 412,7 YSSY KDFW 4508 4 409,26&lt;BR /&gt;37 31 09:23 QFA7 VHOEF B744 412,7 YSSY KDFW 2958 2 893,21&lt;BR /&gt;&lt;BR /&gt;from this file i need to extract flight date ,&lt;B&gt;PERIODE,REF&amp;nbsp; &lt;/B&gt;and 1-37 records and insert it into DB.&lt;BR /&gt;so basically i need to put flight &lt;B&gt;date &lt;/B&gt;,&lt;B&gt;PERIODE,REF&amp;nbsp; &lt;/B&gt;for each record .(i ll need 37 row from above file (space separates values))&lt;BR /&gt;&lt;BR /&gt;now plz tell me how dod i do that???</description>
      <pubDate>Mon, 18 May 2015 12:03:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294482#M67351</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T12:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294483#M67352</link>
      <description>Take a look at the tFileInputRegex and the tFileInputMSDelimited. You can do this with both, it just depends on how you want to achieve it and whether the structure of your file will be consistent.</description>
      <pubDate>Mon, 18 May 2015 15:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294483#M67352</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-18T15:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294484#M67353</link>
      <description>Hi,&lt;BR /&gt;If you can give me an example then i ll understand it better.&lt;BR /&gt;Thanks,&lt;BR /&gt;Pankaj</description>
      <pubDate>Tue, 19 May 2015 13:52:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294484#M67353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-19T13:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: multiple reguler expression in one file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294485#M67354</link>
      <description>Hi,
&lt;BR /&gt;can i match regex over multiple lines
&lt;BR /&gt;e.g
&lt;BR /&gt;file:
&lt;BR /&gt;Invoice Number: 
&lt;B&gt;A123 &lt;/B&gt;Invoice Date: 
&lt;B&gt;20-Aug-14&lt;/B&gt;
&lt;BR /&gt;Aircraft: 
&lt;B&gt;A123-301&lt;/B&gt; Sample airline
&lt;BR /&gt;and i want to extract these fileds(bold once) ... how can i do that???
&lt;BR /&gt;and yes my file structure will be same for every file.
&lt;BR /&gt;i tried using tFileInputRegex and the tFileInputMSDelimited.
&lt;BR /&gt;
&lt;BR /&gt;i tried with this Regex ...
&lt;BR /&gt;**:\s*(*)\s*.****\s*(+).**\s*(*)
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Pankaj</description>
      <pubDate>Thu, 21 May 2015 12:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/multiple-reguler-expression-in-one-file/m-p/2294485#M67354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-21T12:07:29Z</dc:date>
    </item>
  </channel>
</rss>

