Imports System.Text.RegularExpressionsPublic Class Tester Public Shared Sub Main Console.WriteLine(New Regex("\d").Replace("1, 2, 3, 4, 5, 6, 7, 8", "digit", 3)) End SubEnd Class digit, digit, digit, 4, 5, 6, 7, 8