Tweaked RegEx pattern.

Tweaked the registry expression so that it takes into account numbers and delimiters.