Modified the regex to allow white space before and after the : character.