Help for this page

Select Code to Download


  1. or download this
    s/(\s+)/$1 eq "\n\n" ? $1 : " "/eg;
    
  2. or download this
    ($_ = reverse) =~ s{
      (?:
    ...
      )+                    # one or more times
    }{ }xg;                 # turn it into a single space
    $_ = reverse;