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

17728Re: [NTB] Fuzzy search

Expand Messages
  • hsavage
    Mar 31, 2005
    • 0 Attachment
      Steve Kalynuik wrote:

      >
      >
      > Is it already possible to do a fuzzy search for something similar to
      > Prog-Soft's PSPad v4.3.3 (2059), in it if I click on Search--
      >
      >> Replace then I can look for items in a known length fuzzy search
      >
      > which is really handy easpecially now as I am convertring a xml
      > output file to basic text.
      > One example is looking for:
      > MAmount="0.5555555"
      >
      > I want to find all occurances and variances of the above and say
      > delete them.
      >
      > In PSPad I would enter in the find box:
      > MAmount="[0-9].[0-9][0-9][0-9][0-9][0-9][0-9][0-9]"
      > in the replace box I would have nothing.
      >
      > This will get rid of anything relative to the above string.
      >
      > Can this be done in NoteTab or is this planned or something similar.
      >
      > BTW the other coomands or expressions in the PSPad Search/Replace
      > are with examples:
      >
      > start of line ^
      > end of line $
      > match string in times (string){n}
      > subexpression (abcd)
      > match a,e,i and 0..9 [aei0-9]
      > anything but a,e,i and 0..9 [^aei0-9]
      >
      > matches a-z, A-Z, 0-9, include "_" \w
      > a nonalphanumeric characters \W
      > digits 0-9 \d
      > any character except 0..9 \D
      > whitespace (same as [\t\n\r\f]) \s
      > any character except whitespace \S
      >
      > backslash \\
      > hexadeciaml character \xA0
      > tab \t
      > vertical tab \v
      >
      > Thank-you
      > Kalynuik1 (Kingtut1)
      > Steve Kalynuik
      > Loyal NoteTab Std user for years

      Steve,

      The above examples appear to be just PSPad's version of RegExp. Nearly
      identical functions and symbols are available in NoteTab's RegExp.

      The only change in your find-side example would be delimiting the period
      with a backslash in the Find-Replace box.

      MAmount="[0-9]\.[0-9][0-9][0-9][0-9][0-9][0-9][0-9]"


      ºvº
      05.03.31
      hrs > hsavage@...
    • Show all 4 messages in this topic