Regular expressions used by WebSphere MQ File Transfer Edition
WebSphere® MQ File Transfer Edition uses regular expressions in a number of scenarios. For example, regular expressions are used to match user IDs for Connect:Direct® security credentials, to split a file into multiple messages by creating a new message each time a regular expression is matched, and to specify a set of files to transfer in a file transfer request. The regular expression syntax used by WebSphere MQ File Transfer Edition is the syntax supported by the java.util.regex API. This regular expression syntax is similar to, but not the same as, the regular expression syntax used by the Perl language.
For more information about Java™ regular expressions, see the Java tutorial Regular Expressions.
Examples
To match all patterns, use the
following regular expression:
.*
To match
all patterns that begin with the string fte, use
the following regular expression:
fte.*
To
match all patterns that begin with the string accounts followed
by a single digit, and end with .txt, use the following
regular expression:
accounts[0-9]\.txt