Filter DataTable End with Numbers

give a try on following:

(From d in dtData.AsEnumerable
Where System.Text.RegularExpressions.Regex.IsMatch(d("ID").ToString.Trim, "\d+$")
Select r = d).CopyToDataTable

Also have a look here:

[FirstAid] Handling of The source contains no DataRows exception - News / Tutorials - UiPath Community Forum

1 Like