Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
c# replace dash in string
kush
Programming language:
C#
2021-05-12 10:39:53
0
Q:
c# replace dash in string
x-code
Code:
C#
2021-03-29 03:25:59
string result = Regex.Replace(inputString, @"[^0-9]", "");
0
Tags
string
replace
Related
C# regex replace all spaces with blank
interop C# save as and replace
c# list to string replace last comma with and
replace double backslash with single backslash c#
string.replace c#
how to put double quotes in a string c#
c# replace string case insensitive
c# regex replace all line breaks
c# string replace comma with newline
c# replace crlf
c sharp string replace
c# regex replace
replace index in string c#
c# string with slash
New to Communities?
Join the community