strip trailing spaces

General questions about using WildEdit

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
User avatar
Mike Olds
Posts: 226
Joined: Wed Sep 30, 2009 3:27 pm
Contact:

strip trailing spaces

Post 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?
Thank you, and
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post 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
User avatar
Mike Olds
Posts: 226
Joined: Wed Sep 30, 2009 3:27 pm
Contact:

Post by Mike Olds »

Thank's Ben, much appreciated.
Thank you, and
Best Wishes,
Obo
http://buddhadust.net/
check out the What's New? Oblog:
http://buddhadust.net/dhammatalk/dhamma ... ts.new.htm
Post Reply