Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
Greedy phone number parser regex Python function gist
(opens in new tab)
(gist.github.com)
2 points
jamescampbell
4y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
jamescampbell
OP
4y ago
Passed all my tests for phone number variations including international notation, spaces, and parentheses. Welcome feedback and comments. This handled my use case for text parsing of phone numbers.
j
/
k
navigate · click thread line to collapse