<?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 Re: Replacetextprocessor remove blank lines in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191387#M70956</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12029/opreaadrian1.html" nodeid="12029"&gt;@Adrian Oprea&lt;/A&gt; Thanks a lot, appreciate it, almost forgot about the shift +enter &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks again&lt;/P&gt;</description>
    <pubDate>Wed, 08 Nov 2017 21:28:23 GMT</pubDate>
    <dc:creator>dhieru</dc:creator>
    <dc:date>2017-11-08T21:28:23Z</dc:date>
    <item>
      <title>Replacetextprocessor remove blank lines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191384#M70953</link>
      <description>&lt;P&gt;Hi All,for eg&lt;/P&gt;&lt;P&gt;Thanks a lot this awesome community&lt;/P&gt;&lt;P&gt;I was trying to modify my flowfile to not have a blank line. for example right now it is like&lt;/P&gt;&lt;PRE&gt;This is message1

This is message2&lt;/PRE&gt;&lt;P&gt;I want to remove that middle blank line, so it wil become&lt;/P&gt;&lt;PRE&gt;This is message1
This is message2&lt;/PRE&gt;&lt;P&gt;I am using replacetextprocessor , but not able to figure out the replacement value?&lt;/P&gt;&lt;P&gt;Attached is my attempt, any pointers or help&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43503-nifireplace.png"&gt;nifireplace.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Dheeru&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:02:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191384#M70953</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-11-08T08:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replacetextprocessor remove blank lines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191385#M70954</link>
      <description>&lt;P&gt;I treid using the replacement text as (.*)\n but then it is showing &lt;/P&gt;&lt;P&gt;This is message1nThis is message2n&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;Thanks Dheeru&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 08:20:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191385#M70954</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-11-08T08:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Replacetextprocessor remove blank lines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191386#M70955</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You almost got it right &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="43504-replace.png" style="width: 798px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/18427i71AF600C54C118D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="43504-replace.png" alt="43504-replace.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In the Replacement Value: type &lt;STRONG&gt;"Shift-Enter"&lt;/STRONG&gt; -- this will add a new line as replacement value.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the search value will remove all empty lines and prefix spaces.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Also i have attached a sample template : &lt;/STRONG&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/43505-replace.xml" target="_blank"&gt;replace.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 07:27:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191386#M70955</guid>
      <dc:creator>opreaadrian1</dc:creator>
      <dc:date>2019-08-18T07:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Replacetextprocessor remove blank lines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191387#M70956</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12029/opreaadrian1.html" nodeid="12029"&gt;@Adrian Oprea&lt;/A&gt; Thanks a lot, appreciate it, almost forgot about the shift +enter &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks again&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2017 21:28:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191387#M70956</guid>
      <dc:creator>dhieru</dc:creator>
      <dc:date>2017-11-08T21:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Replacetextprocessor remove blank lines</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191388#M70957</link>
      <description>&lt;P&gt;yeah i know is not very intuitive &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 08:39:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replacetextprocessor-remove-blank-lines/m-p/191388#M70957</guid>
      <dc:creator>opreaadrian1</dc:creator>
      <dc:date>2017-11-09T08:39:26Z</dc:date>
    </item>
  </channel>
</rss>

