Regular expressions are an extremely powerful tool for
manipulating text and data. With built-in support for regular
expressions, BatchBlitz is definitely an invaluable part of your
In BatchBlitz, regular expressions are used when you filter or
Just choose menu option Tool >
Regex Tester, or simply click button on the
Here you enter a line of text on which to perform the matching
Enter a regular expression here if option Regular expression is checked. Enter a
wildcard pattern otherwise.
- Enter a string into the Text
- Enter a regular expression or wildcard pattern into the
- Click button Test.
If no match is found, the result window just displays "'No
matches". Otherwise, matched text and all captures are listed, as
shown in the above image.
Back-references (e.g. $1) enable you to manipulate part of the
matched text. They can be very helpful when renaming files using
If you enter an invalid regular expression (or wildcard
pattern), the background color of entry Regex will
change to a light pink. As can be seen in the below image, the
entered regex contains unclosed parentheses:
Tested texts and regexes are automatically saved in the dropdown
lists. To clear these cached values, choose menu option Tool > Clear Private Data.... In the shown
dialog, make sure the option Regex Tester history is
checked. See below:
For more information on regular expression and Regex Tester, see
BatchBlitz online help.
For more tutorials on using BatchBlitz, click here.