Usin \f in search/replace

General questions about using WildEdit

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

Post Reply
Silme
Posts: 2
Joined: Mon Jul 06, 2009 11:07 pm

Usin \f in search/replace

Post by Silme »

Hello!
I have a bunch of text files with multi-page documents having xPage [Pagenumber] line in front of each page. I need form feed character between the pages. I'm trying to replace \nxPage (that will search for beginning page marker but skip the very first page in the document) and replace it with \f\nxPage. Again:
Search: \nxPage
Replace: \f\nxPage

It works great in TextPad but I cannot process more than ~60 files at a time. WildEdit though creates .txt-00 files for files that match search criteria and DOES NOT insert form feeds.
I don't see any option to change the behavior so I guess it's just a bug.

EDIT: .txt-00 actually backup files and there are edited .txt files.
The problem is that the replaced text looks like \f\nxPage instead of form feed and a new line. Surprisingly the new line before xPage marker is not deleted and the marker for the very first line is not replaced
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

Select Replacement format.
Silme
Posts: 2
Joined: Mon Jul 06, 2009 11:07 pm

Thank you

Post by Silme »

Thank you! That helped
Post Reply