Page 1 of 1

Search and Replace - Too many times

Posted: Wed Aug 06, 2003 3:49 am
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?

Posted: Wed Aug 13, 2003 9:21 pm
by David Johnson
I'd like to take a look at your filter. Would you "Export Filter to Clipboard" and paste it here?

Check 'Replace First Only" Box

Posted: Tue Sep 23, 2003 9:07 am
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-