FTP regex pattern file list filter
FTP file filter that matches the name of the file against a regular expression.
FTP file filter that matches the name of the file against a pattern that is described by a regular expression.
See the java documentation about patterns: Pattern documentation
Pattern
A regular expression that describes the pattern for matching the file names.
Examples:
^.*.xml$
- matches all .xml
files
^test\d{4}.xml$
- matches all filenames that start with test
followed by 4 digits and end with .xml
See the Java documentation about patterns: Pattern documentation