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

Re: [NTB] Regular expressions wopn't replace

Expand Messages
  • Dave
    Hi Not quite shore what you mean but what you have now is selecting everything between both tags, put what you want in the find box
    Message 1 of 3 , Mar 22, 2008
    • 0 Attachment
      Hi
      Not quite shore what you mean but what you have now is selecting everything
      between both tags, put what you want in the find box "<dummytagx" and click
      next un-check regex. and replace at will.
      THANKYOU DAVE M

      ----- Original Message -----
      From: "Vance E. Neff" <veneff@...>
      To: <notetab@yahoogroups.com>
      Sent: Saturday, March 22, 2008 2:21 AM
      Subject: [NTB] Regular expressions wopn't replace


      > Hello,
      >
      > I apologize that I'm still using NoteTab Pro version 4.95, but I haven't
      > upgraded because I did not want to go back and modify all the clips that
      > I have written.
      >
      > In many of my HTML documents I have the sequence:
      > <dummytagx ...>...</dummytagx>
      > so that I could have sections of code available if I wanted to activate
      > them later. These usually spans several lines.
      > Now I want to simply delete them all.
      > When using the Find and Replace dialog, I have entered:
      > <dummytagx \a*</dummytagx>
      > into the 'Reg. Expr.:' spot, and nothing in the 'Replace: with:' spot.
      > I have 'Regular Exp.' checked.
      > Two problems:
      > 1) It seems to select from the 1st occurrence of '<dummytagx ' to the
      > last occurrence of '</dummytagx>', instead of the next occurrence.
      > 2) The Replace option is grayed out.
      > When I check 'All Documents', NoteTab just terminates.
      >
      > I'm guessing the first problem has to do with the 'greedy' nature of
      > Regular expressions. I never understood what everyone meant by that.
      >
      > Thanks for any input!
      > Vance
      >
      >
      > ------------------------------------
      >
      > Fookes Software: http://www.fookes.com/
      > NoteTab website: http://www.notetab.com/
      > NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      > ***
      > Yahoo! Groups Links
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.