I am trying to delete all the files with a space in their names. I am using following command. But it is giving me an error

Command : `ls | egrep '. ' | xargs rm`

Here if I am using only `ls | egrep '. '` command it is giving me all the file name with spaces in the filenames. But when I am trying to pass the output to rm, all the spaces (leading or trailing) gets deleted. So my command is not getting properly executed.

Any pointers on how to delete the file having atleast one space in their name?