ammohan
(Ammohan)
1
Hi,
Can anyone please provide a code to remove all the alphabets and special characters from a column in a data table without using for each?

Thanks,
Amrutha
ppr
(Peter Preuss)
2
give a try at regex replace
myNewString = System.Text.RegularExpressions.Regex.Replace("strOldVar","[^\d\s]", "")