Timeline for Phone number extraction with regular expressions
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 27, 2015 at 18:47 | answer | added | Alex L | timeline score: 5 | |
Jul 22, 2015 at 16:17 | comment | added | codedude | @MaxHaaksman haha no there's an idea. I could even have it replace the letters with the appropriate numbers. :) | |
Jul 22, 2015 at 16:03 | comment | added | A Smith | What about 1 800 SHIP UPS? ;) | |
Jul 21, 2015 at 20:08 | history | tweeted | twitter.com/#!/StackCodeReview/status/623585472938426372 | ||
Jul 21, 2015 at 16:50 | comment | added | codedude | Ah. I see what you mean. I'll look into it., | |
Jul 21, 2015 at 16:47 | comment | added | jonrsharpe |
I know that - I mean that it matches e.g. '1-800)-123-4567' , which may be undesirable
|
|
Jul 21, 2015 at 16:45 | comment | added | codedude | @jonrsharpe Sometimes parenthesis aren't required when entering a phone number so I didn't require them. Also I didn't know about named catpure groups. Thanks for the heads up :) | |
Jul 21, 2015 at 16:35 | comment | added | jonrsharpe | One minor bug is that it doesn't require the area code parentheses to be matched. Also, adding named capture groups might help you with any further processing. | |
Jul 21, 2015 at 16:16 | history | edited | Jamal | CC BY-SA 3.0 |
added 10 characters in body; edited title
|
Jul 21, 2015 at 16:10 | history | edited | Ethan Bierlein |
edited tags
|
|
Jul 21, 2015 at 16:09 | comment | added | codedude | It produces the same results in PHP and Python | |
Jul 21, 2015 at 15:57 | comment | added | Ethan Bierlein | What flavor of regex is this? What language is it used in? | |
Jul 21, 2015 at 15:49 | review | First posts | |||
Jul 21, 2015 at 15:58 | |||||
Jul 21, 2015 at 15:47 | history | asked | codedude | CC BY-SA 3.0 |