0

i have a document written in MS Word 2003 and the structure of the document is as

this is a line number 1_p1
this is a line number 2_p1
this is a line number 3_p1
this is a line number 4_p1
this is a line number 1_p2
this is a line number 2_p2
this is a line number 3_p2
this is a line number 4_p2
this is a line number 1_p3
this is a line number 2_p3
this is a line number 3_p3
this is a line number 4_p3

now here i want to display these information as

p1
this is a line number 1
this is a line number 2
this is a line number 3
this is a line number 4

p2
this is a line number 1
this is a line number 2
this is a line number 3
this is a line number 4

p3
this is a line number 1
this is a line number 2
this is a line number 3
this is a line number 4

here please note that every line consist of symbol _ as separator.

2
Contributors
2
Replies
22
Views
4 Years
Discussion Span
Last Post by Learner010
0

Hello Learner010,

Can you elaborate some more on what you are trying to do? You mentioned word, so wouldnt you just be able to format the page however you wish? cut/paste, reformat?

I dont think i'm understanding the issue correctly. Are you generating this file programmatically?

Edited by JorgeM

0

Are you generating this file programmatically?

No, i am not generating the file programmatically.

this is a line number 1_p1
this is a line number 2_p1
this is a line number 3_p1
this is a line number 4_p1

actually there are thousands of lines which has _ as delimiter.
it means that a particular word written after _ will be the heading of the paragraph. ok.

so i want to set these lines as

p1 //paragraph heading

this is a line number 1
this is a line number 2
this is a line number 3
this is a line number 4

i think now i have explored the problem exactly.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.