Loading ...
Sorry, an error occurred while loading the content.

[Clip] Re: regexp

Expand Messages
  • Andreas K├╝stermeyer
    Hi Michael, Perhaps that s what your are looking for. Deleting all the blank lines between your text? like: Line1 Not this line Line2 ....
    Message 1 of 5 , Jan 31, 2000
    • 0 Attachment
      Hi Michael,

      Perhaps that's what your are looking for.
      Deleting all the blank lines between your text?
      like:

      Line1 Not this line
      Line2 .... <---spaces
      Line3
      Line4 ....not this line

      result:

      Line1 Not this line
      Line2 ....not this line


      :shrink
      ^!Replace " ^P" >> "^P" WAIST
      ^!IfError shrinker
      ^!Goto shrink

      :shrinker
      ^!Replace "^P^P" >> "^P" WAIST
      ^!IfError exit
      ^!Goto shrinker

      Regards,
      Andreas
    Your message has been successfully submitted and would be delivered to recipients shortly.