Index
Previous  Next

Gets the index of the match in the original string.
Syntax: Index As Int32

Example:
's is the string that was searched for the regex pattern.
s = StrRemove(s,Match1.Index,Match1.Length)
s = StrInsert(s,Match1.Index,StrToUpper(Match1.GetGroup(1)) 'This code replaces the old match with a different value.