Regular expressions module for:
Visual Basic 5.0 and 6.0
Visual Basic for Applications (Word, Excel, Access)
ęCopyright 1998, 2002, 2004, 2009, 2014, 2019 Aivosto Oy
RegExpr for VB & VBA is a Visual Basic and Visual Basic for Applications module for regular expression matching. Regular expressions are used for matching string patterns, as well as replacing them, in several programming tools, like Perl or Grep. Regular expressions are somewhat similar to but much more powerful than VB's built-in Like statement.
RegExpr for VB & VBA was developed to mimic the behavior of regular expressions in the Perl programming language.
Regular expression syntax rules
- Greedy and stingy matching
VB functions in RegExpr
- Customizing RegExpr
- Error codes
Differences to Perl
RegExpr comes in version for both VB and VBA. The versions are almost similar except for minor differences between VB and the VBA dialects.
RegExpr v1.12 Help