regex - How to identify files which have empty new lines at the bottom of the file -
regex - How to identify files which have empty new lines at the bottom of the file -
i have several files either have 2 or 3 or more empty lines @ bottom of of file. how find such files , remove empty lines in automated fashion.
you can utilize regex dotall option selected
^(\r?\n){2,}$
and replace nothing
regex eclipse
Comments
Post a Comment