I have three phone/fax number fields in a database that people are spamming
with text info (marketing hype B.S.) and I want to figure out how to clean
up the info and then limit it in the future. I think I need to do two
steps -- delete existing data in each field other than numbers and "-"
marks, and then limit the fields to ONLY numbers and "-" marks.
1. Is there a safe way to edit the existing data using phpMyAdmin? (I only
know how to to the preg_replace in PHP, but I know I can't do that in mySQL)
2. Other than the preg_replace, what's the best way to limit input in those
fields to only numbers and hyphens?
Thanx!
Wm