I can't answer to your question, but I would suggest you to put in your database an unique telephone number format. For example, 4186596600. When you print it in a page, you could "tell" PHP to display it like 418-659-6600.
To do that, use this code :
preg_replace("([0-9])", "", $str);
It will convert every "not-number"-characters contained in $str to nothing and will return the result.
Like that, it would be much easier ! Don't you think ?