RegExMatch.SubExpressionCount Property
Read-Only
Syntax
SubExpressionCount as
Number of SubExpressions that are available with the search just performed. REALbasic's Regular Expressions support both \number and $number syntax for SubExpressions.
SubExpressions allow replacement of parts of the pattern.
Returns an Integer.