numeric/string to only numeric
<p>In Javascript, how transform a "numeric/string" variable to only numeric? Using some function or regular expression.?</p>

<p>Sample:
Input: 11.489.301/0001-47
to: 11489301000147</p>
