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

12881Re: Extracting words from a file

Expand Messages
  • Hugo Paulissen
    Dec 1, 2004
    • 0 Attachment

      As Jody mentioned the regular expression engine can be reluctant.
      That's why I gave you a very simple regex, if it doesn't work...
      you could try to build another way to jump to the next word and have
      that checked for Capitalization. Or else, just look for " A", " B",
      etc. and then do ^!SetClipboard ^$GetWord$.


      > ^!Jump DOC_START
      > :GETCAP
      > ^!Find "[A-Z]+" R
      > ^!IfError END
      > ^!IfTrue ^$IsCapitalized("^$GetWord$")$ ^!SetClipboard ^$GetWord$
      > ^!GoTo GETCAP
    • Show all 23 messages in this topic