Removing Headings and SubHeadings from a Word document RRS feed

  • Question

  • Hi All,
    I dont know whether this is the correct place to post this question but I have been struggling with this problem for quite a while.
    I want to read a word docment using C# and then I want to delete some specifiec region of text.Each region has a specific heading/subheading.

    For instance:
    1.1      Description

    This is the first part that has to be deleted.

    1.2      Design
    This is the second part that has to be deleted..

    My requirement is to delete all the text that is present in 1.1 section as well as the one present in 1.2 but I am unable to do so.One more problem is that the sections may not be continuous but the gud part is that will always begin with the same heading/sub heading as mentioned here.
    Please guid me how can I achive my objective.

    Ashish Agrawal
    • Moved by nobugz Friday, October 2, 2009 8:44 AM (From:.NET Base Class Library)
    Friday, October 2, 2009 7:23 AM