G
grep
I have a phone number field on a form, and I have the phone numbers
formatted as (@@@) @@@-@@@@. This works great if I'm entering the phone
number manually. But often, I use cut-n-paste from elsewhere to put in
the phone number, and it's usually formatted.
What I'd like to do is code the field to strip out any non-numeric
characters when the number is input. Then the formatting can work
properly, the angels will sing and peace will reign on Earth. Alright,
one of out three anyway...
Any suggestions as to how (and where) to do that?
grep
formatted as (@@@) @@@-@@@@. This works great if I'm entering the phone
number manually. But often, I use cut-n-paste from elsewhere to put in
the phone number, and it's usually formatted.
What I'd like to do is code the field to strip out any non-numeric
characters when the number is input. Then the formatting can work
properly, the angels will sing and peace will reign on Earth. Alright,
one of out three anyway...
Any suggestions as to how (and where) to do that?
grep