Corrected DMS regex to allow for space delimited inputs