The method to use Replace in a DataTable help

@22222222asas
similar to

we can handle like

(From d In dtData.AsEnumerable
Let ra =d.ItemArray.Select(Function (x) If(isNothing(x), Nothing, Regex.Replace(x.toString,"YourPattern",""))).toArray
Select r = dtCorrected.Rows.Add(ra)).CopyToDataTable()

Maybe you can share some sample data with us, we could also check for simplification like a custom trim