With Regular expressions.. \w+ should be enough to find out if a word is
alphanumeric. If you want the whole sentence.. you will need to write
a little expression. Look up help on Regular expressions to figure out
the complete thing.. Or somebody might help you out here ..
Thanks a lot for taking the time to reply. As \\w represents alphanumerics
and the underscore character I have to get rid of '_' also. Too bad there is
no built-in function.
Thanks Jhon, you motivated me to get back to Tom Archer's Inside C# to learn
regular expressions. I had skipped that part!
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.