Take the State of DFIR Survey Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report. Take the survey ›

Take the survey

Take the State of DFIR Survey

Caseloads, AI, tools and careers. 8 minutes, anonymous, early access to the report.

Take the survey →
Question about grep...
 
Notifications
Clear all

Question about grep expressions

2 Posts
1 Users
0 Reactions
763 Views
(@chitapett)
Estimable Member
Joined: 19 years ago
Posts: 76
Topic starter   [#2412]

I would like to write a grep expression which includes keyword1, any character up to 80 characters long, keyword2, exclude keyword3. This is my attempt but it doesn't seem to work.

Grep expression in EnCase e.g. Roger .{80,80} is undergoing [^tremendous].{10,10}investigation

I am searching for a string given to me by my client "Roger bla bla bla bla bla is undergoing an investigation". And I'm trying to exclude hundreds of false positives such as Roger Clemens ex-pitcher NY Giants is undergoing tremendous bla". I created a test document with both sentences from above and neither seem to hit. Can someone give me a hand?
BTW - I'm not really on a case involving a Roger. 😉

Thanks,



   
Quote
(@chitapett)
Estimable Member
Joined: 19 years ago
Posts: 76
Topic starter  

Stupid mistake. oops

I should have written .{1,80} instead of {80,80}.



   
ReplyQuote

Enterprise Partners

  • MagnetForensics_ForensicFocus
  • celebrite-logo
  • semantics21 2026 FF logo
  • atola-logo

Partners

  • gmdsoft-logo
  • ADF
  • logo Belkasoft 135x100
  • Logo_MSAB_Black (2)
  • Aid4Mail-Logo
  • detego-logo

Academic Partners

  • University of Southampton logo 2
Share: