VB.NET | Yazıdaki kelimeleri bulma ve yerlerini değiştirmek

Drenated

Legend Member
Katılım
23 Kas 2019
Konular
454
Mesajlar
1,850
Çözümler
162
Tepkime puanı
1,524
RC Point
0
Kod:
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
 
Üst