>- see footer for list info -<
So close, you want them to be able to use 1-9 on the frst but you have
stopped it!!

[1-9][0-9]{3}

On 10/3/05, Andrew Davidson <[EMAIL PROTECTED]> wrote:
> >- see footer for list info -<
> Hi All,
>
> OK, I admit I am cr*p at RegExp, and I would normally google for the answer 
> to this, but up against a major deadline. Could anyone give me a RegExp (for 
> a CFINPUT) that would limit the input to ...
>
>  - HAS to be 4 characters (all numeric, no decimal points, cannot start with 
> a zero)
>  - First character can only be 1 to 9
>  - Next 3 characters can be 0 to 9
>
> ... my best guess was [^1-9][0-9]{3}, but that does not seem to work.
>
> Cheers !
>
>
> ---------------------------------
> Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with 
> voicemail
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to 
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- Hosting provided by www.cfmxhosting.co.uk -<
> >- Forum provided by www.fusetalk.com -<
> >- DHTML Menus provided by www.APYCOM.com -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
>


--
Simon Baynes
www.simonbaynes.com
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to