Use '\s' instead of ' ' to identify spaces in regex