Converted the gigantic regular expression over to a more manageable set of regular expression parts which are used to build the regular expression and reference the documentation.