Remove non alphanumeric characters

The String class represents character strings. Strings are constant, their values cannot be changed after they are created. Alpha stands for alphabets and numeric stands for number. So a non alpha numeric character will be any symbol without letters or numbers (digits). The folowing program shows how to remove all non alphanumeric characters from a string.

Related Topics:

String Operations ,    Remove spaces from a string ,   
Remove new line from a string ,    String to Integer ,   
Convert String to DateTime

How to strip non-alphanumeric characters

C#
How to strip non-alphanumeric characters C#

VB.Net
How to strip non-alphanumeric characters vb.net

Output : helloworld100010

How to remove alphabetic characters from a string



C#
remove alphabetic characters from a string c#

VB.Net
remove alphabetic characters from a string vb.net

Output : 250

How to remove numbers from string



C#
C# remove numbers from string

VB.Net
VB.Net remove numbers from string

Output: Two hundred and fifty



NEXT.....Character Encoding