If I have the following values:
$var1 = AR3,373.31 $var2 = 12.322,11T
How can I create a new variable and set it to a copy of the data t
Simplest way to truly remove all non-numeric characters:
echo preg_replace('/\D/', '', $string);
\D represents "any character that is not a decimal digit"
\D
http://php.net/manual/en/regexp.reference.escape.php