Users Pricing

forum

Home Forums Match specific lines in VB.net – MindStick

Match specific lines in VB.net

Anonymous User 2469 05 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

1 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md