Hi,
Can you try the following sample?
intStart = CInt(system.Text.RegularExpressions.Regex.Match(yourString,"(?<=\()\d+").Value)
intNumber = CInt(system.Text.RegularExpressions.Regex.Match(yourString,"\d+(?=\))").Value)-intStart+1
Then
arrStr = Enumerable.Range(intStart,intNumber).Select(Function(i) System.Text.RegularExpressions.Regex.Match(yourString,"[^(]+").Value+"("+i.ToString+")").ToArray()
Sample
Sample20240316-3a.zip (2.6 KB)
Regards,