Adding Regular Expressions

Modified on Tue, 18 Jun 2019 at 09:59 PM

Regular expressions can be used to locate any items which consistently match a pre-determined format. 

Some examples include; 


  • 16-digit reference number
  • Passport Number
  • An email address
  • telephone number


FileHound will return any string of data which appears to match the format of a regular expression. This tool is useful for locating all documents within a given directory which could potentially contain personally identifiable information.


To create Regular Expressions, navigate to the Expressions Manager in the menu.



 To create a new Regular Expression, click the Add Regular Expression button in the toolbar.  


In the popup that appears, enter a Name for your Regular Expression, as well as a valid RegEx code, as highlighted in the example below.



Before saving your new Regular Expression, always test it using the Test box near the bottom of the popup. Valid RegEx codes will return a response highlighted with a green tick , as in the example below.



To confirm and proceed, click the Save button.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article