GetStringNumberGetStringNumber — retrieves the index number of named substrings.
Regex.GetStringNumber(name)
nameThe name of a substring.
On success, a number greater than 1. On failure, a numeric
error code less than 0.
If a pattern contains named substring matches, this method will retrieve the
index number (starting at 1) of the substring corresponding
to this name.