Comment Comment by eCa A somewhat clearer way (imho) is /(\d)\D*$/ since it anchors to the end of the string. parent eCa 12 years ago