Update to regex to account for space after hash