<?php
function removeCaracteres($str){
}
$cpfBd="111.222.333-44";
echo removeCaracteres($cpfBd);
echo"\n";
$celularBd="(21)9876-5432";
echo removeCaracteres($celularBd);
PD9waHAKCmZ1bmN0aW9uIHJlbW92ZUNhcmFjdGVyZXMoJHN0cil7CgoJcmV0dXJuIHN0cl9yZXBsYWNlKGFycmF5KCIuIiwgIi0iLCAiLyIsICIoIiwgIikiKSwgIiIsICRzdHIpOwoKfQoKJGNwZkJkPSIxMTEuMjIyLjMzMy00NCI7CgplY2hvIHJlbW92ZUNhcmFjdGVyZXMoJGNwZkJkKTsKCmVjaG8iXG4iOwoKJGNlbHVsYXJCZD0iKDIxKTk4NzYtNTQzMiI7CgplY2hvIHJlbW92ZUNhcmFjdGVyZXMoJGNlbHVsYXJCZCk7