Page 1 of 1

strip trailing spaces

Posted: Sat Sep 07, 2019 1:46 pm
by Mike Olds
Hello

I need to strip trailing spaces on 11,000 files. I had thought to do a simple search and replace of "<!DOCTYPE html>" replacing it with "<!DOCTYPE html>" confusing TextPad with WildEdit where in TextPad I am now set up to strip trailing spaces when saving.

So the question is: how does WildEdit treat trailing spaces?

Posted: Sat Sep 07, 2019 3:34 pm
by ben_josephs
Just as TextPad does:
Search for: _+$ [Replace the underscore with a space]

[X] Regular expression

Replace with: [nothing]

Options

Regular expression syntax
[X] Perl/ECMAScript
OR
[X] POSIX Extended

Posted: Sat Sep 07, 2019 9:57 pm
by Mike Olds
Thank's Ben, much appreciated.