How to filter exact values

variables:

strFilter = "ABC A001"
strPattern = strFilter & "\b"

Assign Activity:
dtFilter | DataType: DataTable =

(From d in YourDataTable.AsEnumerable
Let v = d("YourColNameOrIndex").toString
Where System.Text.RegularExpressions.Regex.isMatch(v,strPattern)
Select r = d).CopyToDataTable

Handling possible empty filter results we do:
:ambulance: :sos: [FirstAid] Handling of The source contains no DataRows exception - News / Tutorials - UiPath Community Forum