title: Javascript RegExp - extract phone numbers from string
body: <p>I have the following working regex to extract a lot of phone numbers in different formats.</p>
  
  <p>See here: <a href="http://jsfiddle.net/SB5Ly/4/" rel="nofollow">http://jsfiddle.net/SB5Ly/4/</a></p>
  
  <pre><code>var regex = new RegExp(
              "\\+?\\(?\\d*\\)? ?\\(?\\d+\\)?\\d*([\\s./-]?\\d{2,})+",
              "g"
          );
  ....
  </code></pre>
  
  <p>(If the script didn't load, press the "Run" button from the top menu)</p>
  
  <p>As you can see in the example (by following the link), the last 2-3 phone number formats (var phoneNumbers) doesn't match the used regex.
  You can test the regex modifying it in the script and running it.</p>
  
  <p>So i need a regex that match all the enumerated phone number formats (to extract them from an entire webpage (document.body.innerHTML)).</p>