Modified the Regex to accomodate for scientific notation on paths etc.