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

Re: [NTB] Wildcard search, how?

Expand Messages
  • littlegobbin
    ... box in the ... 1 or ... Hi Alec, Thanks for the quick reply, sri I ve not got back to you sooner, tried the d+ expression which worked well for me, must
    Message 1 of 2 , Feb 27 5:19 AM
    • 0 Attachment
      --- In notetab@yahoogroups.com, "Alec Burgess\(g\)" <buralex@...> wrote:
      >
      > Hi littlegoblin:
      >
      > Look up regular expressions in the help.
      > for your particular example you would tick the regular expression
      box in the
      > replace dialog and then do something like
      > FIND=this and that file-{\d+[a-z]}
      > REPLACE=this and that file-000
      >
      > The above assumes that the part you want to replace by 000 is always
      1 or
      > more digits followed by a lower case letter.
      >
      > At first the regexp syntax looks horribly complicated but if you spent a
      > little time playing with it and trying various things you'll see that it
      > really isn't difficult at all :-)
      >
      > Regards ... Alec
      > --

      Hi Alec,

      Thanks for the quick reply, sri I've not got back to you sooner, tried
      the "\d+" expression which worked well for me, must check the help
      files more hi hi :-)

      Once again many thanks ......


      ---
      Eric .......


      > ----- Original Message -----
      > From: "littlegobbin" <gobbin@...>
      > To: <notetab@yahoogroups.com>
      > Sent: Saturday, February 25, 2006 3:06 PM
      > Subject: [NTB] Wildcard search, how?
      >
      >
      > > Hello there,
      > >
      > > Just wondering if the is a 'wildcard(s)' character(s) that can be used
      > > in search, or when doing a 'find and replace'?
      > >
      > > e.g. I want to change 'this and that file-22b' and 'this and that
      > > file-2c' in the same text file so that it is replaced to 'this and
      > > that file-000'.
      > >
      > > Many thanks
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > > The NoteTab Clips List: http://groups.yahoo.com/group/ntb-clips/
      > > The NoteTab Off Topic List:
      http://groups.yahoo.com/group/ntb-offtopic/
      > > Fookes Software: http://www.fookes.us, http://www.fookes.com
      > >
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.