<?php $strings = array("5103564-AD", "77-546-00D", "292196232", "5102200D", "5102205", "5102251-EP"); print_r(preg_grep('/[^a-z]d$/i', $strings));
You have javascript disabled. You will not be able to edit any code.