Renamed variable for clarity. Exporting useful regexes.

Exporting regular expressions for re-use outside of names.
Renamed user validPart for clarity and reusability.