Created 04-02-2017 09:32 AM
Hi Team,
In my file I have some records as show below,
Sample
Input-
1|transaction|I|2017-03-28|Current
1|master|B|2017-03-28|Current
1|master|A|2017-03-28|Current
Required Output-
1|transaction|I|2017-03-28|Current
1|master|A|2017-03-28|Current
While processing the file using NiFi, I want to consider only records having "I" & "A" in the third position.
I am trying to use "RouteText" processor using regular expression to filter the records. However I am not successful in getting the correct expression for filtering the records.
Could you please help me out?
Thanks!
Created on 04-02-2017 09:59 PM - edited 08-18-2019 01:35 AM
You should be able to do this with RouteText. I suspect the configurations/regex you currently have may need some updating to get the functionality your looking for. Below is a screen should of something that should work. I also created a small example here.
Created on 04-02-2017 09:59 PM - edited 08-18-2019 01:35 AM
You should be able to do this with RouteText. I suspect the configurations/regex you currently have may need some updating to get the functionality your looking for. Below is a screen should of something that should work. I also created a small example here.
Created 04-03-2017 12:22 AM
Thanks Meyer!!!