\d\d\d[1-9]|\d\d[1-9]\d|\d[1-9]\d\d|[1-9]\d\d\d
F
On Mon, Feb 04, 2002 at 06:55:58AM -0700, Bryan Field-Elliot wrote:
> Are you certain this does exactly what I was referring to?
>
> I want to match any sequence of four digits, except the sequence "0000".
> However, other occurances of "0" should be allowed, like "0123", "9100",
> etc.
>
> The pattern you gave me appears to exclude all occurances of "0", which
> is not what I wanted. Please correct me if I'm wrong.
>
> Thank you,
>
> Bryan
>
> On Mon, 2002-02-04 at 01:31, Edward Q. Bridges wrote:
>
> [1-9]{4,6}
>
> hth
> --e--
>
>
> On 02 Feb 2002 09:14:57 -0700, Bryan Field-Elliot wrote:
>
> >Hi,
> >
> >I'm struggling to create a regular expression, which will match any
> >four, five, or six digits EXCEPT "0000" (four zeros). Not sure how to do
> >this. Any help would be greatly appreciated!
> >
> >Thank you,
> >
> >Bryan
> >
> >
> >
> >
> >
> >
>
>
>
>
--
Fergus Gallagher Tel: +44 (20) 8742 1600
Orbis Fax: +44 (20) 8742 2649
414 Chiswick High Street email: [EMAIL PROTECTED]
London W4 5TL Web: http://www.orbisuk.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>