Hello, can anyone tell me how search for certain file names in certain paths excluding some directories? Regex is good but I can't use it with negative look ahead. I am doing Java and want to hit all files ignore ing generated.
Thanks a lot!
Mokhtar
Regex with negativ look ahead
Re: Regex with negativ look ahead
To search inside a list of folders, search for:
<C:\folder\subfolder\|"C:\folder\folder with spaces\"|"C:\program files\"|c:\Users\>
< > = group terms
| = OR
To exclude a list of folders, search for:
!<C:\folder\subfolder\|C:\windows\>
! = NOT
Combining these together:
Include C:\Windows, but exclude C:\windows\system32
c:\windows\ !c:\windows\system32
SPACE = AND
http://www.voidtools.com/support/everything/searching/
<C:\folder\subfolder\|"C:\folder\folder with spaces\"|"C:\program files\"|c:\Users\>
< > = group terms
| = OR
To exclude a list of folders, search for:
!<C:\folder\subfolder\|C:\windows\>
! = NOT
Combining these together:
Include C:\Windows, but exclude C:\windows\system32
c:\windows\ !c:\windows\system32
SPACE = AND
http://www.voidtools.com/support/everything/searching/