Email output separate rows by new lines

Sure, the pattern is basically replacing

  1. Unlimited spaces before

    \s*
    
  2. As many newlines and carriage returns

    [\n\r]+
    
  3. and unlimited spaces after

    \s*
    

With a closing paragraph tag and a new paragraph tag (see “New value”). So,

abc
def

ghi

becomes

abc</p>
<p>def</p>
<p>ghi

But those are all replacing newlines in-between each line, so you still need a starting paragraph tag and closing paragraph tag for the first and last line. Hence putting it here:
Screenshot_2023-10-13_141022

so you get

<p>abc</p>
<p>def</p>
<p>ghi</p>
5 Likes