Sample output...
Fault Notes : archiving problems with main system
<<19/03/2007 ST 11:19 TZ 11:19 ab99665>>
contact caller
<<19/03/2007 ST 11:39 TZ 4WA 09:39 ld76340>>
second process seems to have put the control char after the first occurrence of >> and not the last.
anyway...
maybe...
If ...
Search found 4 matches
- Tue May 15, 2007 3:21 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Removing all lines between 2 unique strings (not inclusive)
- Replies: 7
- Views: 16221
- Tue May 15, 2007 12:21 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Removing all lines between 2 unique strings (not inclusive)
- Replies: 7
- Views: 16221
I'll put in a close example of original and desired output..
all I want to keep is:
Details: ssssss
whatever...
Fault: xxxxxx
xxxxxxxxxxx
xxxxxxxxxx
zzzzzzzzz
zzzzzzzz
zzzz
Details: ssssss
whatever...
Fault: xx
xxxxxxxxxxxxxxxxxx
xxxxxx
xxx
zz
zzzzzzz
Details: ssssss
whatever...
Fault: xxxxxxxx
and so on...
Here tiz...
Sample Original ...
Details: ssssss
whatever...
Fault: xxxxxx
xxxxxxxxxxx
xxxxxxxxxx
zzzzzzzzz
zzzzzzzz
zzzz
Details: ssssss
whatever...
Fault: xx
xxxxxxxxxxxxxxxxxx
xxxxxx
xxx
zz
zzzzzzz
Details: ssssss
whatever...
Fault: xxxxxxxx
and so on...
Here tiz...
Sample Original ...
- Mon May 14, 2007 4:45 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Removing all lines between 2 unique strings (not inclusive)
- Replies: 7
- Views: 16221
You certainly are clever.. but another 1 if I may...
I have a txt file with the following sample..
details: ssssssss
whatever...
Fault: xxxxxx
xxxxxxxxxxx
xxxxxxxxxx
<<yadda yadda>>
yyyy
yyy
<<yippee yippee>>
yyyyyyyyyy
yy
<< more yadda>>
<< even more>>
zzzzzzzzz
zzzzzzzz
zzzz
Details:
more whatever...
more...
Fault:
next lot of txt of the same ...
details: ssssssss
whatever...
Fault: xxxxxx
xxxxxxxxxxx
xxxxxxxxxx
<<yadda yadda>>
yyyy
yyy
<<yippee yippee>>
yyyyyyyyyy
yy
<< more yadda>>
<< even more>>
zzzzzzzzz
zzzzzzzz
zzzz
Details:
more whatever...
more...
Fault:
next lot of txt of the same ...
- Fri May 11, 2007 1:10 pm
- Forum: TextPipe Tips and Tricks, Questions and Support
- Topic: Removing all lines between 2 unique strings (not inclusive)
- Replies: 7
- Views: 16221
Removing all lines between 2 unique strings (not inclusive)
Hi guys,
I have a simple text files with say 100 lines of data (varies in size each time)
say line 5 starts with lineA: yadda yadda....
and line 40 starts with lineB: yadda yadda...
I want to delete all of lines 6 through 39 inclusive..
just leaving lines 1-5 and 40-100 in the file...
now the next ...
I have a simple text files with say 100 lines of data (varies in size each time)
say line 5 starts with lineA: yadda yadda....
and line 40 starts with lineB: yadda yadda...
I want to delete all of lines 6 through 39 inclusive..
just leaving lines 1-5 and 40-100 in the file...
now the next ...