Hi Everyone,
From the below regex file i need to get data in enumerable like with exact spacing as in regex notepad file
abc4234
abc1434
abc1244
regex.txt (81 Bytes)
Hi Everyone,
From the below regex file i need to get data in enumerable like with exact spacing as in regex notepad file
abc4234
abc1434
abc1244
regex.txt (81 Bytes)
Hi,
Can you try the following expression?
String.Join("",System.Text.RegularExpressions.Regex.Matches(data,"(\r?\n|abc\d{4})").Cast(Of Match).Select(Function(x) x.Value)).Trim
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.