Fixed regex for removing spaces at the beginning of a line