Regular expressions

Pentaho Data Integration

Version
9.3.x
Audience
anonymous
Part Number
MK-95PDIA003-15
Use the Wildcard (RegExp) field in the File tab to search for files by wildcard in the form of a regular expression. Regular expressions are more sophisticated than using * and ? wildcards. This table describes several examples of regular expressions.
File Name Regular Expression Files Selected
/dirA/ .userdata.\.txt Find all files in /dirA/ with names containing userdata and ending with .txt
/dirB/ AAA.\* Find all files in /dirB/ with names that start with AAA
/dirC/ \[ENG:A-Z\]\[ENG:0-9\].\* Find all files in /dirC/ with names that start with a capital and followed by a digit (A0-Z9)