Hello guys,
I have a text file which I have to read it from my code which is Ok.
THE PROBLEM :
the program has to read the file and just take and extract or print some part of the text file.
it means Strings between 2 Words.
Here is the content of the text file:
// #Name
// Behrooz 123_box_2000
// ...
// ...
// .....
// #Requirements
// lab_121, lab_222, lab_312
// ...
// ...
// .....
// #Name
// John 555_box_2010
// ...
// ...
// .....
// #Requirements
// lab_666, lab_819, lab_731
AND I need to print out just :
// #Name
// Behrooz 123_box_2000
// #Requirements
// lab_121, lab_222, lab_312
// #Name
// John 555_box_2010
// #Requirements
// lab_666, lab_819, lab_731
I appreciated if you can help me.
BR,
Behrooz.