hi i have a input like this
+917845963214
09845612789
954-4561-458
894-845-2245
i want only 10 digit phone number… i dont need +91 or 0 or (-)this shymbol
i want output like this
7845963214
hi i have a input like this
+917845963214
09845612789
954-4561-458
894-845-2245
i want only 10 digit phone number… i dont need +91 or 0 or (-)this shymbol
i want output like this
7845963214
i want only 10 digits number for all
@katta_nikhil
Also, Try regex replace
System.Text.RegularExpressions.Regex.Replace(YourString,"^\+91|^0|-","").Tostring.Trim
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.