I have input like this:

HEADING1:
This is the description lines.............
This is the description lines.............
This is the description lines.............
This is the description lines.............

HEADING2:
This is the description lines.........

so and so...

I have to format the HTML output by bolding the headings along with putting 3 tabs for 
the first line immediately after heading.
eg.

<b>HEADING1:</b>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; This is the description 
lines....
This is the description lines.............
This is the description lines.............
This is the description lines.............
This is the description lines.............


The two constants for headings are 
1. it always start with a new line,
2. Always uppercase.



I have tried all the options as per my knowledge but in vain.


TIA,

Thanks,

Sara.

Reply via email to