Created
May 28, 2009 19:53
-
-
Save klette/119529 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
numbers = [num[0].replace(' ', '') for num in numbers if (num[0].startswith('9') and len(num[0]) == 8) \ | |
or (num[0].startswith('4') and len(num[0]) == 8) \ | |
or (num[0].startswith('+474') and len(num[0]) == 11) \ | |
or (num[0].startswith('+479') and len(num[0]) == 11)\ | |
or (num[0].startswith('00479') and len(num[0]) == 12)\ | |
or (num[0].startswith('00474') and len(num[0]) == 12)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment