Click here to Skip to main content
15,867,488 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

what the meaning of
value = System.Text.RegularExpressions.Regex.Replace(value, "\\D", "");

please explain with example.

thank you.
Posted
Comments
Kenneth Haugland 20-Oct-15 1:57am    
regex is just a short form of Regular Expression. Just so you know

1 solution

From MSDN[^]:
It replaces all strings that match a regular expression pattern with a specified replacement string in a specified input string.


See example at : Regex.Replace[^].

--Amy
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900