Add them to the regexp:
if(preg_match("/[0-9 \r\n\t-]*$/",$string)) {
echo "valid";
} else {
echo "not valid";
}
The hyphen has to be on the end, or the regexp interpreter will think it's indicating a range (like 0-9).
Since this is preg_match, you can get away with a regexp of "/\d\s-]*$/".
Or you can do without regexps entirely and just go for
if(strspn($string,"- \r\n\t0123456789")==strlen($string)) {
echo "valid.";
} else {
echo "not valid.";
}
which may or may not be faster.