A regex expression to find files where something does not occur in

loopstudio
loopstudio used Ask the Experts™
on
How do I write a regex in Agent Ransack to find the files which doesnt contain my searching criteria text?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
That doesn't sound like a regex issue, please explain.
evilrixSenior Software Engineer (Avast)

Commented:
Just a suggestion...

If the regex engine supports "lookaround" you can use negatived lookahead.
http://www.regular-expressions.info/lookaround.html

A negative look ahead says, only match if the lookahead fails.
Agent Ransack apparently doesn't allow negative lookahead constructs.  Consider another Windows grep utility.

Here's a translated page of a thread discussing the same issue:
http://translate.google.com/translate?u=http%3A%2F%2Fwww.essential-freebies.de%2Fboard%2Fviewtopic.php%3Fp%3D53256%26highlight%3D&sl=de&tl=en&hl=en&ie=UTF-8

Author

Commented:
Thank You people!

It took me long time to look through the link of Yours ddrudik, but suddently I fell over the name "Total Commander" - and that program I allready have, and I was pleased to see that it does exactly the job And even very easy - and without any regexp knowledge! :o)

Thanx.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial