Hello, I am trying to build a regex for a query that excludes local phone numbers from a list of calls thus leaving only long distance. I dont have alot of experience with the "re" module
local numbers start with 281, 832, 713 , or 1281, 1832, or 1713, my regex which isnt working looks like this Calls.objects.exclude(dest_number__iregex=r'^1?(?=281)|^1?(?=713)|^1?(? =832)') --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---