Fixing dolartoday script by deleting whitespace in regex