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

Re: find a specific word along with surrounding words, etc.

Expand Messages
  • KenH
    Thanks again. I ran across something in my research and tried it in this code. It seems to work but maybe I ll run into side effects somewhere down the line?
    Message 1 of 6 , Sep 5, 2011
      Thanks again. I ran across something in my research and tried it in this code. It seems to work but maybe I'll run into side effects somewhere down the line?

      [Aa]id -> (?i)aid

      --- In ntb-clips@yahoogroups.com, "diodeom" <diomir@...> wrote:
      >
      > After removing one needless grouping:
      >
      > ^!Set %s%=^(\d+\. ).*?((\b\w.{0,17})?\b[Aa]id\b(.{0,17}\w\b)?)
      > ^!Set %r%=$1$2
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.