On Tue, Jul 1, 2008 at 11:15 AM, John Lenton <[EMAIL PROTECTED]> wrote:
>> local numbers start with 281, 832, 713 , or 1281, 1832, or 1713, my
>> regex which isnt working looks like this
>
> in other words, local numbers match the regex
>
>  r'^(?:281|832|713|1281|1832|1713)'

Or, to simplify it even further, and make it easier to add new area
codes later on, if any crop up:

r'^1?(281|832|713)'

-Gul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to