B
Bre-x
Hi,
I have a text file that is made of a number of paragraphs:
each paragraph start with either: ":O", ":N", or ":" follow by a 4
digit number and finish with either: M30 or M99
What I need to do is go down the file and capture the text between and
create a new text file for each occurrence using the name of the
original file plus the first line less the ":"
Orginal file: 625.txt
:1041
text here
text here
text there
M30
:2393
text here
text here
text there
text here
text hereM30
:N2112
text here
text here
M99
the end result will be: 3 files 6251041.txt, 6252393.txt and
6252112.txt
I hope you guys can help me
Regards,
Bre-x
I have a text file that is made of a number of paragraphs:
each paragraph start with either: ":O", ":N", or ":" follow by a 4
digit number and finish with either: M30 or M99
What I need to do is go down the file and capture the text between and
create a new text file for each occurrence using the name of the
original file plus the first line less the ":"
Orginal file: 625.txt
:1041
text here
text here
text there
M30
:2393
text here
text here
text there
text here
text hereM30
:N2112
text here
text here
M99
the end result will be: 3 files 6251041.txt, 6252393.txt and
6252112.txt
I hope you guys can help me
Regards,
Bre-x