I have a text that I want to read on a daily basis and see if the file contains a certain pattern in a line.
The Line is:
07:45 AM - Field Import Job: Correspondence Litigation Chargeback (OK)
- Finished in 00:00.06
I am able to get the pattern for the date.
Dim pattern As String = "\b" & (Format(DateValue(Now).AddDays(-1), "MM/dd/yyyy"))
I want to also look for the (OK)