I'm working with l-systems and would like to know if it is possible to access regular expressions in vb.net components, like in the following example:
Dim StringToCheck As String = "EEOOAA"
Dim StringToFind As String = "A"
Dim exp As New Regex(StringToFind, RegexOptions.IgnoreCase)
Dim Occurrences As Integer = exp.Matches(StringToCheck).Count
This returns an error that Regex is not defined, but…
You can share this discussion in two ways…
Share this link:
Send it with your computer's email program: Email this