Simple Javascript Find and Replace
<p>I am working on a project where I need to replace any phone number on a site with a number formatted like this:</p>

<pre><code>&lt;span id="special-id"&gt;555-666-7777&lt;/span&gt;
</code></pre>

<p>Using regex isn't really necessary as I know the value I need to replace.  Also, some of the numbers may be formatted differently (with parentheses or decimals).</p>

<p>I'm fairly certain I could figure out how to do this with Jquery but, for this project, I need to use regular Javascript.</p>

<p>In a nutshell, I'd like to define 1 or more versions of the number ( <strong>555-666-7777</strong>, <strong>(555) 666-7777</strong>, <strong>etc</strong> ) and have them replaced with my hyphenated version of the number, in a SPAN tag, with an ID.</p>
