- Take a line from from which you have to remove whitepaces.
2. Select Line ,Now Press Ctrl+H
select Regular Expression checkbox.
Now keep the following feilds as nbelow
For What : \W
Replace With : (keep blank)
3.Now Click Replace All . That’s all white spaces will be removed from your Line