Hi, i've been searching frenzy for a regex that validates a username that may contain a-z A-Z 0-9 . - and _ in ASP.NET
The catch is that this username is to be part of the url so the username may not contain _.- in the begining of the name or in the end of the name, and _.- may be typed together like e.x cool._steve, greate-_-pete and so on.
can someone help me with this please