Author : Piyush Gupta
There are two way to remove all spaces from file in Notepad.
There are two way to remove all spaces from file in Notepad.
- Using Regular expression
- Direct Method
To delete all spaces in the file, replace
' +'
with ''
(quotes only for demonstration, please remove them). You need to have the checkbox "Regular expression" checked.
To remove all spaces and tabs, replace
'[ \t]+'
with ''
(remove quotes).
This works for big files, too, where the solution of direct method will be tiresome.
Direct Method:
No need for regular expressions. In Find (Used Ctrl + H) what add a white space character and then replace with nothing.
No comments:
Post a Comment