Find all files that contain anyone of a group of words.

Find all files that contain anyone of a group of words.

2
NewbieNewbie
2

    Aug 08, 2006#1

    I am using Search>Find in files.
    I am trying to find all files that contain any of my specified text strings.
    Example: (Text1 or Text 2 or Text 3 or Text4)
    I tried using a regular expression but could only get it to work for 2 text strings at a time.
    Example using UltraEdit Syntax): ^{Text1^}^{Text2^}
    Example using Unix Syntax): (Text1|Text2)
    I need help building an expression that will let me find files that contain any of a list of text strings.

    344
    MasterMaster
    344

      Aug 09, 2006#2

      Hi,

      - switch to the new "perl regexp style" in options dialog.
      - then search for (I|am|looking|for|those|words)and you'll see that it works.
      UE style (and Unix style) only support 2 OR arguments.

      rds Bego
      Normally using all newest english version incl. each hotfix. Win 10 64 bit

      2
      NewbieNewbie
      2

        Aug 09, 2006#3

        Thanks a lot, Bego
        It's works great.