regex space fix