forum

Home / DeveloperSection / Forums / Match specific lines in VB.net

Match specific lines in VB.net

Anonymous User206105-Oct-2013

Is there a shorter way of writing this with or without regex?

Dim q1 = System.Text.RegularExpressions.Regex.Match(myString, 
       "[\n\r]finished", System.Text.RegularExpressions.RegexOptions.IgnoreCase)
If (q1.Success) Then Exit Sub

Updated on 05-Oct-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By