Clicky

Houdah Software Forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
splattergnejs

Registered:
Posts: 3
 #1 

Dear all!

In order to ensure full GDPR compliance - I am desperately looking for a way to search my complete MAC documents folder for files (*.docx, *.xlsx, *.pptx mostly) that contains text with a specific pattern - ie. a Swedish personal identification number. It consists of six (or eight) numbers, then "-" and then four additonal numbers: example: 881004-8765 or 700321-5517 - (can also be stored with year in front: 19881004-8765) 

I have tried to use Alfred, HoudahSpot and other built in search engines without success. But I guess I am not just clever enough. 

Can this be done with HoudahSpot? Text content seach with pattern ******-**** gives way to many hits.

Really looking forward to your reply and assistance!

Best Regards, Daniel

0
splattergnejs

Registered:
Posts: 3
 #2 
I think I have found a solution - by using a RegEx expression in my search I am able to find the pattern I am looking for. Unfortunately HoudahSpot does not seem support RegEx search patterns (yet?) - Possible to implement in future releases maybe? Would make a super application even more super!!

More info regarding RegEx expressions, incl. possibilities to test various expressions: https://regex101.com/

Enjoy summer! Daniel
0
houdah

Moderator
Registered:
Posts: 3,062
 #3 
Unfortunately, there is no way to use RegEx to search the Spotlight index.

You'll probably have to resort to a two-step solution. Find candidate files using HoudahSpot and then feed those through a tool that uses RegEx to match the content.

Best,
Pierre Bernard

__________________
Houdah Software s. à r. l.
https://www.houdah.com

HoudahGeo: One-stop photo geocoding
HoudahSpot: Advanced file search utility
Tembo: Easy and effective file search
0
splattergnejs

Registered:
Posts: 3
 #4 
Thank you for a swift reply!

All the best!

Daniel
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.