Jim, Take a look at RouteText.
Thanks -Mark > On Jun 5, 2023, at 8:09 AM, James McMahon <jsmcmah...@gmail.com> wrote: > > Hello. I have a requirement to scan for multiple regex patterns in very large > flowfiles. Given that my flowfiles can be very large, I think my best > approach is to employ an ExecuteGroovyScript processor and a script using a > BufferedReader to scan the file one line at a time. > > I am concerned that I might exhaust jvm resources trying to otherwise process > large content if I try to handle it all at once. Is a BufferedReader the > right call? Does anyone recommend a better approach? > > Thanks in advance, > Jim