Search and Replace - Too many times

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

Caffeinated

Search and Replace - Too many times

Postby Caffeinated » Wed Aug 06, 2003 3:49 am

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: 4
Joined: Mon Jun 30, 2003 1:30 pm
Location: Richmond, Virginia, USA
Contact:

Postby David Johnson » Wed Aug 13, 2003 9:21 pm

I'd like to take a look at your filter. Would you "Export Filter to Clipboard" and paste it here?

jring
Posts: 18
Joined: Tue Sep 23, 2003 3:13 am

Check 'Replace First Only" Box

Postby jring » Tue Sep 23, 2003 9:07 am

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-


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 5 guests