Support Questions

Find answers, ask questions, and share your expertise

Nifi- processor to split line into multiple lines based on delimiter or regex

avatar
Rising Star

my one processor output is a flow file which contains text lines , each line is having semicolunm , i would like to split each line into mulitple lines .

input flow file : hi how ; are you

i am good; how about you

output flow file :

hi how

are you

i am good

how about yoy

1 REPLY 1

avatar

Hello,

I think you need to use SplitText and SplitContent. SplitText can split lines, then pass each line to SplitContent, which can be configured delimiter by hexadecimal format as "Byte Sequence". Semicolon ";" is "3B".

Hope this will work for you.