try this
string b= System.Text.RegularExpressions.Regex.Replace(“string_Variable”,“\D”,“”)
It will replace all the characters other than digits and return only digits.
Regards,
Mahesh
try this
string b= System.Text.RegularExpressions.Regex.Replace(“string_Variable”,“\D”,“”)
It will replace all the characters other than digits and return only digits.
Regards,
Mahesh