Hacker News new | comments | show | ask | jobs | submit login

Or hypens, or periods, or whatever delimiter makes the user happy.

s/[^\d]+//g <- Not just easier on your users. Easier that what you were planning to do instead, too.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: