vb..net replace işlemi bu işlem tek tek yaptığı için örnek değişen1 değişen2 şeklinde yapabilirsiniz buda değişen1 i ileride değiştirmek için iyi bir yöntem
VB.Net:
Dim paren As String = "<figure(.*?)</figure>"
Dim command As String = inout
Dim matchess As MatchCollection = Regex.Matches(command, paren)
Dim rumble As Integer
rumble = 0
For Each m In matchess
Dim temp As String = "match = " + m.ToString()
MsgBox(temp)
command = command.Replace(m.ToString(), "(xx)" & rumble)
rumble += 1
Next