How to make sure the string has only Alphabet and Numberic in it?
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hello everyone, I have a string which contains all sort of charateres. How can I remove the unwanted charaters and make sure what I am left with is Numerical and Alphabet charaters? Thank you very much and have a great day. Khoramdin
Use the Regex.Replace method.
----- You seem eager to impose your preference of preventing others from imposing their preferences on others. -- Red Stateler, Master of Circular Reasoning and other fallacies If atheism is a religion, then not collecting stamps is a hobby. -- Unknown God is the only being who, to rule, does not need to exist. -- Charles Baudelaire