Keeping rows starting with specific format

Working on a pdf to text case.
I want to only keep the marked rows as below, and it has a specific starting format.

Expected output:
image

Using loop,filter dt or regex is fine.
Kindly advise whats the best solution to this.

dtTest.AsEnumerable().Where(function(r) System.Text.RegularExpressions.Regex.IsMatch(r.Field(Of String)(0), “^\d”)).CopyToDataTable

remove row starting with alphabet

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.