Help for this page

Select Code to Download


  1. or download this
    s/(?=\s)\s*?(?:(\n\n)|(?=\S))/$1||" "/eg;
    
  2. or download this
    s/
      (?=\s)                      # Be sure we will match some whitespace
    ...
    /
      $1 || " "                   # Either the blank line or a space.
    /egx;