Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

regex to validate username

  •  08-11-2008, 5:36 AM

    regex to validate username

    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

View Complete Thread