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

22378Re: [NTB] Regular Expression: find between two words

Expand Messages
  • Don
    Feb 23, 2012
    • 0 Attachment
      Hit find and then tick the regular expression box and then search for this:
      Word1 (.*) Word2

      That will find it and assign it to a temporary spot where if you were
      using a replace you could insert it with $1.

      On 2/23/2012 12:42 PM, book7reader wrote:
      > Hello,
      >
      > I want to find any text or numbers that exist between two words (the two words are always present in the line but what is between the changes.) For example in the line...:
      >
      > "Word1 some text or numbers-2 here Word2"
      >
      > ...I want to find:
      >
      > " some text or numbers-2 here " portion of the text based on the "Word1" and "Word2" delimiters.
      >
      > Thanks for your help,
      >
      > James
      >
      >
      >
      >
      >
      > ------------------------------------
      >
      > Fookes Software: http://www.fookes.com/
      > NoteTab website: http://www.notetab.com/
      > NoteTab Discussion Lists: http://www.notetab.com/groups.php
      >
      > ***
      > Yahoo! Groups Links
      >
      >
      >
      >
    • Show all 15 messages in this topic