Q:

Regular Expression in ASP.NET for alpahnumeric characters

I cannot manage to get a working regular expression (for use in ASP.NET Validataor) for the following criteria:

I want all chars from A-Z a-z 0-9
I don't want the Enter key

I have the expression: [\w\s,.-/]*[^\n] but that doesn't work.
Can anyone give me a hint?

A:

This will match only characters that you're requiring:
[A-Za-z0-9]+

