Results 1 to 2 of 2
  1. #1
    Wurst is offline Member
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Default Replace placeholder in Word document

    I have the Problem, that i have more than one characterruns. I Need to replace placeholders like <!test> or <!here>; so i check for These words. But i have Problems when in the run is "<!" and in the next range is "test>". Is it possible to replace over some more ranges? How to do it?
    i tryed to manipulate at the end with: 'doc.getDocumentText().replace'. But its not possible to do it in that way... Can anyone help?
    Last edited by Wurst; 08-21-2013 at 11:19 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,422
    Rep Power
    20

    Default Re: Replace placeholder in Word document

    Removed from Replace Text Word Document

    Don't post to old dead threads and don't hijack another poster's thread.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. How to Convert Excel document to word document?
    By sudheer.v47 in forum Advanced Java
    Replies: 3
    Last Post: 05-09-2014, 10:26 AM
  2. Replace Text Word Document
    By mapleleafs89 in forum Apache POI
    Replies: 0
    Last Post: 06-16-2013, 12:01 AM
  3. Replies: 0
    Last Post: 07-24-2012, 09:07 AM
  4. Problem with replace word
    By nananya in forum New To Java
    Replies: 3
    Last Post: 12-11-2011, 07:10 PM
  5. how to replace word in netbeans 6.9.1
    By enggvijaysingh@gmail.com in forum New To Java
    Replies: 1
    Last Post: 11-23-2010, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •