sure,
eregi('([A-Z]{1})([0-9]{1,})', $string, $arr);
/**
$arr[0] contains the whole of the string
$arr[1] contains the letter
$arr[2] contains the numbers
/
// now e.g.
if ($arr[1] == 'D') {
echo 'Letter D was entered';
}
hope you get the idea.
good luck,
Daarius...