top of page

Regex to Remove Relativity Numbering on Downloaded PDFs


Relativity has an annoying habit of appending numbers to the beginning of PDFs that you download from a workspace. So, files can be named with either a 1, 2, or 3 digit number followed by an underscore, and the document identifier or field selected to name the file. E.g.:

7_ABC002276411

17_IBM080414121

134_GE0005425444

Using Bulk Rename Utility you can use this regular expression search to remove the numbering, so the files are only named with the Bates numbers:

([0-9]{1}_|[0-9]{2}_|[0-9]{3}_)(.*)

In the replace box simply enter:

\2

The search for the numbers with the underscore are separated in parentheses from the second part also in parentheses which searches for any number of characters.


Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

​

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

​

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page