Programmers of the World, remove the hyphens!

Like many of you, I've written code for web sites. How hard is it to remove spaces and hyphens in credit card numbers and phone numbers? Usually, it's a one-line regexp. And some test cases. Don't forget the test cases.

People make measurably fewer mistakes when they can punctuate long number strings. It's easy enough for us to let them do it.

So write the code.