Find files that don't have certain text string

Tool for Search and Replace across multiple files.
Post Reply
User avatar
Alan Kempster

Find files that don't have certain text string

Post by Alan Kempster »

I can't see a way of listing files in which a text string is missing. That would be very useful. Can TextCrawler do it?
User avatar
DV

Post by DV »

Short of doing a very compilicated regular expression, you could just Untick the 'View-->Only List Files With Matches' option, search for the text string, and then sort by Matches. All the files with 0 matches will have the string missing!
User avatar
Alan Kempster

Post by Alan Kempster »

Ah, I hadn't found that option. Many thanks.
Post Reply