$n = StringRegExpReplace($s, '(TestA)(TestB)(TestC)', '$1'); <- doesn't work - just for show
 
I'm trying to get the "group position number" in the SRE. 
ie: 1, 2 or 3 
 
The end result would be an offset number for another piece of code i'm working on. 
 
I can do it fairly easy with this... 
 Local $s = 'TestB'
Local $n = StringReplace(StringReplace(StringReplace($s, 'TestA', 1), 'TestB', 2), 'TestC', 3)
MsgBox(0, '', $n)
 
I thought perhaps it could be done with an SRE, but I couldn't get