简体   繁体   中英

How to remove CR LF in nifi

I have a csv which has a CRLF when i checked in notepad++ due to which the data corresponding to that column is populating in next column and the same is happening with the next column value.

I want to replace that with Replace text in Apache-Nifi. Any leads?

Example below:

Name,id,product,product_id,email,phone_no,fax_no

John,1,2,3, CRLF

x@p.com, +212 -909-9008, +212 -909-9009 -- it is coming in next line.

You can use replaceTextprocessor line by line mode.

replace \\n with '' or any other value.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM