The html() method in jQuery uses the innerHTML JavaScript property.
The innerHTML property retrieves the source of an element at runtime.
If you need the pure text content of an element (without HTML tags), use the innerText and textContent properties.
Example:
var bodyText = (document.body.textContent === undefined) ? document.body.innerText : document.body.textContent;
var myArray = bodyText().match (/([\s()-.])*(0[1-9]|[+][1-9]|[+][+][1-9]|00[1-9])(([\s()-.\/])*[0-9]+)*/g);
For further details and examples:innerText property, textContent property, innerHTML property.