How do I read a string and return a boolean whether it matches a regular expression or not?
This should be in a single line for use in the If Activity.
How do I replace the part of the string which contains the regular expression?
Dim myString As String = "The cat in the hat dog"
Dim regex = New Regex("\bcat\b.*\bdog")
Dim match = regex.Match(myString)
If match.Success Then
Console.WriteLine(match.Value)
End If