Answers for "regex exclude all special characters"

C#
2

regex replace all special characters

Regex.Replace(your String, @"[^0-9a-zA-Z]+", "")
Posted by: Guest on March-25-2020
0

regex exclude character

[^a]	#any character except 'a'
[^aA]	#any character except 'a' or 'A'
[^a-z]	#any character except a lower case character
[^.]	#any character not a period
Posted by: Guest on December-05-2020
0

regex match numbers and special characters

echo %H1E2L+L#O! | sed 's/[^A-Z!]//g'	#replaces number and special
characters which aren't ! or an uppercase letter A-Z
Posted by: Guest on November-27-2020

Code answers related to "regex exclude all special characters"

C# Answers by Framework

Browse Popular Code Answers by Language