I have a scenario in which there is a Heading/Constant Text like "Call Tree:" present all over the Word document and after that there are some lines, and once the line are over, there is a Table. So I want the lines between the table and the Heading/Constant Text "Call Tree:" to be deleted using python/win32 component.
For Example :
Input is :
...
Call Tree :
Line 1 ...
Line 2 ...
....
....
....
....
Line N ....
Table # 1
.....
Output is (i.e. all the lines in between the table and "Call Tree" are deleted):
...
Call Tree :
Table # 1
.....
I'm not sure, if there is any way by which I can select multiple lines between a Constant Text i.e "Call Tree" and a Table.
I know, that selection of a line a