<?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>question Replace Line Feed character in Nifi in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187447#M68048</link>
    <description>&lt;P&gt;I have a line feed LF character in my csv file that I would like to replace with a pipe character |. ASCII value for LF is 10&lt;/P&gt;&lt;P&gt;How can i do that using replace text processor.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2017 22:29:20 GMT</pubDate>
    <dc:creator>lovelesh_chawla</dc:creator>
    <dc:date>2017-09-14T22:29:20Z</dc:date>
    <item>
      <title>Replace Line Feed character in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187447#M68048</link>
      <description>&lt;P&gt;I have a line feed LF character in my csv file that I would like to replace with a pipe character |. ASCII value for LF is 10&lt;/P&gt;&lt;P&gt;How can i do that using replace text processor.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2017 22:29:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187447#M68048</guid>
      <dc:creator>lovelesh_chawla</dc:creator>
      <dc:date>2017-09-14T22:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Line Feed character in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187448#M68049</link>
      <description>&lt;P&gt;You should be able to use line-by-line as the Evaluation Mode in the &lt;A target="_blank" href="http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.3.0/org.apache.nifi.processors.standard.ReplaceText/index.html"&gt;ReplaceText&lt;/A&gt; processor, using \n or \\n (the slash may need to be escaped, e.g.) as the match value and | or \| as the replace value (again, the latter if it needs to be escaped to be proper regex for the pipe character).&lt;/P&gt;</description>
      <pubDate>Sat, 16 Sep 2017 08:29:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187448#M68049</guid>
      <dc:creator>mburgess</dc:creator>
      <dc:date>2017-09-16T08:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Line Feed character in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187449#M68050</link>
      <description>&lt;P&gt;Thanks Matt. that worked. I was curious why it does not work with the "Entire Text" evaluation mode.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2017 20:28:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187449#M68050</guid>
      <dc:creator>lovelesh_chawla</dc:creator>
      <dc:date>2017-09-18T20:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Line Feed character in Nifi</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187450#M68051</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/641/mburgess.html" nodeid="641"&gt;@Matt Burgess&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I want to do something like this ${'$1':escapeJson()} as replacement value in replaceText processor&lt;BR /&gt;search value being (?s)(^.*$)&lt;BR /&gt;evaluation mode line-by-line&lt;BR /&gt;&lt;BR /&gt;bt this is not working as expected.&lt;BR /&gt;can you please help if i need to replace each line of file with jsonescaped content&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 16:35:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Line-Feed-character-in-Nifi/m-p/187450#M68051</guid>
      <dc:creator>nishantgupta101</dc:creator>
      <dc:date>2019-02-01T16:35:18Z</dc:date>
    </item>
  </channel>
</rss>

