Thanks all! It doesn't make sense to go beyond a small sanity check,
so I've thrown this regex together based on comreg's current and
planned numbers, which seems to do the trick:

0(1|[2,3,6,7,9]\d|[4,5]\d{1,2})[1-9]\d{4,6}

> If there is one thing I hate, it is having to try and invent validating
> postcodes and landlines (when I was living in Ireland I had neither) in
> order to use a website.

I hate this too. In this case, landlines are required from
institutions who use the service, so individuals aren't effected. :-)

Regards,
Tim ^,^

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Python Ireland" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.ie/group/pythonireland?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to