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

Re: Regex to allow only certain Characters

  •  05-14-2008, 10:11 AM

    Re: Regex to allow only certain Characters

    colinejarvis:

    Hi Iam trying to build a regex to allow 0-9 and A-Z (Capitalised) with a string length of 18 characters

    However I need to allow "spaces" "ampersands" "hyphens" "full Stops" and "forward slash" 

    ^[A-Z0-9 &./-]{18}$


View Complete Thread