Search and Replace - Too many times

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
Caffeinated

Search and Replace - Too many times

Post by Caffeinated »

I am using TextPipe Pro v6.6 and am encountering a problem. I am trying to split a file every time the first character (record type) changes.

The file is sorted, so I only need to split it when the first character changes.

As suggested previously, I am using Search/Replace within a column restriction filter (1...1) to flag where splits should occur. In my Search/Replace I have the "Replace first only" option checked.

However, it is finding and replacing for every occurence of the character I specify. Not just the first occurence. Any thoughts?
User avatar
David Johnson
Posts: 3
Joined: Mon Jun 30, 2003 1:30 pm
Location: Richmond, Virginia, USA
Contact:

Post by David Johnson »

I'd like to take a look at your filter. Would you "Export Filter to Clipboard" and paste it here?
jring
Posts: 9
Joined: Tue Sep 23, 2003 3:13 am

Check 'Replace First Only" Box

Post by jring »

Do this: Restrict to 1 Line at a Time:
Use Replace pattern - subfilter - Be certain to Check the setting box on the bottom of the filter that says:

"Replace First Only"

As long as you've got a handle on your search/replace pattern. This should work fine

J-
Post Reply