Error ERROR Validation Error (2) : error BC30451: 'Regex' is not declared. It may be inaccessible due to its protection level. Main.xaml

I am Using Below code

String.Join(VbCrLf, "My name Is Manjunath Manjunath".Split(" "c).Distinct().ToArray().Select(Function(a) a + "-" + Regex.Matches("My name Is Manjunath Manjunath", a).Count.ToString()).ToArray())

@Pujari_Manjunatha

Import This

System.Text.RegularExpressions

Happy Automation

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.