Comment Comment by ronaldx On the contrary, it does gives the same result.$ anchors to the end of the string, \D clears the non-digits from the end to allow \d to match the digit '2'. parent ronaldx 12 years ago
$ anchors to the end of the string, \D clears the non-digits from the end to allow \d to match the digit '2'.