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

Re: [Clip] regex help for (random text)

Expand Messages
  • Alec Burgess
    Don: If (random text) is always on one line following appears to work: ^!replace s ([^)]* ) r ie. space + leftparen + anything_but_leftparen +
    Message 1 of 4 , May 23, 2005
    • 0 Attachment
      Don:

      If "(random text)" is always on one line following appears to work:

      ^!replace "\s\([^)]*\)" >> "" r

      ie. space + leftparen + anything_but_leftparen + leftparen

      Regards ... Alec
      --
      ( ) { } [ ] \ | 9 0 + = () {} []


      ---- Original Message ----
      From: "Don - htmlfixit.com" <don@...>
      To: <ntb-clips@yahoogroups.com>
      Sent: Monday, May 23, 2005 23:57
      Subject: [gla: [Clip] regex help for (random text)

      > need to get rid of all instances of: (random text)
      > there is a space in front of the ( in all cases, some
      > random text and then a closing ). Cannot be greedy. Can
      > I do it with regex, or do I need to use a clip?
    Your message has been successfully submitted and would be delivered to recipients shortly.