Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
regex replace all special characters
GeoKoer
Programming language:
C#
2021-04-21 13:56:08
1
Q:
regex replace all special characters
Mehdi Amiri
Code:
C#
2021-03-11 22:02:19
Regex.Replace(your String, @"[^0-9a-zA-Z]+", "")
0
Tags
replace
character
characters
New to Communities?
Join the community