Folder Migrations: Custom Regular Expressions

Folder Migrations: Custom Regular Expressions

Regular Expressions are an advanced pattern-matching construct that allows you to backup a custom portion of text out of a larger section of text.  They are typically used by software developers and IT consultants.

When using the Folder Extractor, Regular Expressions let you smartly look for a pattern with the text when the appropriate options are selected:

Special Considerations

When using regular expressions, a special named capture with the name Value (Case Sensitive!) is expected.  This will be used to return the correct portion of the matching text.

Below are some sample regular expressions that will help you get started:

Description Regular Expression

Extract numbers within paratheses.  i.e.:

Sample Matter Name (12345)

^.*\( (?<Value>\d+) \).*$

Use # as a delimiter and extract all values after it.  i.e.:

Sample Matter Name #12345

^.*\#(?<Value>.*)$

 

Additional Resources

Regex101.com is a very helpful resource for testing your regular expressions.

 


    • Related Articles

    • Folder Migrations: Overview

      Background The Universal Migrator's Folder Extractor is an easy way to backup documents and their logical metadata from an independent, unlinked file server that is not used by another application (ie, not Worldox or ProLaw). Because file servers are ...
    • Folder Migrations: Preparing Documents for Export

      Unlinked File Servers Only These instructions should be followed if you have documents you would like to transfer and they exist on file server that is not linked to a practice management system. Consistently Organize Documents by Matter Over time, ...
    • PCLaw Migrations: Creating Database Backups

      Depending on a firm's version of PC Law, their PC Law database is running with either SQL Server or CTREE. You should identify the database type and use the appropriate measures to acquire a copy of their database and their STATDATA folder. For SQL ...
    • Time Matters: Custom Field Extractions

      Among practice management systems, Time Matters is unique in terms of how it stores custom field data. This translates into a unique experience backing it up and working with it. The purpose of this article is to help you understand how Time Matters ...
    • MyCase Injections: Error Creating Custom Fields

      A bug exists in the MyCase application (not Universal Migrator) that can cause all attempts at creating any custom field to fail. In the event that this happens, please open a support ticket with MyCase and direct your representative to this article. ...