Removed spaces from rexex and comparison strings.