stupid me :P
i was testing in RegexBuddy, and the use of groupings has no effect in the "Match" method so i thought there could be another way to do it without grouping. grouping in regexbuddy seems only useful in the "Replace" thinggie. But in VBS it's fine, we can use the SubMatches method to return the matches of the different groups :D
taaaaaaaanx
well, here it is:
would show in 1st message box "lebgeeks" and in a 2nd one "battikh" based on the string "blablabla lebgeeks blablabla battikh blablabla"
so simple...
pattern="(lebgeeks).*(battikh)"
text="blablabla lebgeeks blablabla battikh blablabla"
Set regEx = New RegExp
regEx.Pattern = pattern
Set Matches = regEx.Execute(text)
MsgBox(Matches(0).SubMatches(0))
MsgBox(Matches(0).SubMatches(1))