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

23832Re: [Clip] Re: Twos and Threes

Expand Messages
  • Adrian Worsfold
    May 26, 2013
    • 0 Attachment
      Hello Flo

      This is incredible: indeed yes it is what is wanted.

      ^!Replace "^.*\b(HL|SF|LS|CC|HW|HF|NB)\b.*$" >> "\r\n$0\r\n" WARS
      ^!Replace "\R{3}" >> "\r\n" WARS
      ^!Replace "^\A\R|\R{1,}\Z" >> "" WARS

      How do you actually explain such lines? The point about code with loops and all that is you go down the list and follow the logic, once you've pulled hair out via the Help pages ( "Grr, give an example of how you write it!" is what I say there) or seen how other clips do it and got the code lines to work. Often the practical way is clips that follow menus and those keyboard macros that are somewhat sluggish and unreliable.

      I've looked at the regex pages and notions such as "greedy" mean nothing to me.

      Once again many thanks are due.

      Adrian Worsfold

      ----- Received the following content -----
      From: flo.gehrke
      Receiver: ntb-clips
      Time: 2013-05-26, 13:21:33
      Subject: [Clip] Re: Twos and Threes

      [Non-text portions of this message have been removed]
    • Show all 10 messages in this topic