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:
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>.*)$ |
Regex101.com is a very helpful resource for testing your regular expressions.