Results 1 to 5 of 5
  1. #1
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Remove a pilcrow (2K3)

    I have a narrative that I have downloaded as a text file and wish to put it into Word so that I can format it. I note that the person who put the file together has placed a carriage return at the end of each line and this means that the lines are not justified. The whole document as it stands is 38 pages long but if I do a Find and Replace using ^P to find the carriage returns (pilcrows) it is reduced to 4 pages. However that is great at removing the pilcrows but it removes all the paragraphs. Is there anyway I can remove the carriage returns at the end of each line whilst keeping the paragraphs.

    I am thinking this is going to be an impossible requirement as I have to work out where the paragraphs start and end but it is worth a try. <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>
    Jerry

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Posts
    3,788
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Remove a pilcrow (2K3)

    This method is not perfect but it will cut down the work.

    Paragraphs probably end with a fullstop followed by a pilcrow.
    Find .^P and replace with some dummy text that does not occur elsewhere such as xxxx
    Find & replace the remaining pilcrows
    Find xxxx and replace with .^P

    The above will of course also find sentences that end at the end of a line, as I said not perfect but it may help reduce the workload.

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Remove a pilcrow (2K3)

    Thanks Tony

    I just needed that help witht he logic. I actually extended your logic slightly as i noted that some of the lines actually ended with a .^p

    So I did a find and replace on .^p^p changing in to XXX thenreplaced all the ^p with a space and then reversed the replace of XXX with .^p^p..it is almost perfect...thanks once again

    BTW I have reduded the page by 8 pages, reducing the font by 2 pts and changing it to Arial...every little helps <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    Jerry

  4. #4
    New Lounger
    Join Date
    Jan 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Remove a pilcrow (2K3)

    That's it!! Well, actually, the answer was ^p (not ^P), but i found my way with that useful lead. Strangely, the paragraph character is supposedly represented by ^v, according the options that I have to choose from, but that didn't work. Yes, the actual paragraphs then need to be tended to manually, but it's still literally about 20 times less work. thanks!

  5. #5
    5 Star Lounger
    Join Date
    Oct 2007
    Location
    Darlington, Durham, England
    Posts
    711
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Re: Remove a pilcrow (2K3)

    (Edited by HansV to make URL clickable - see <!help=19>Help 19<!/help>)

    Before I stumbled on the Lounge I used to submit questions to <http://www.microsoft.com/office/community> where one of the MVP's (Suzanne S. Barnhill) one of the MVP's deals extensively with this subject. If the suggestions given do not totally suffice, I suggest either a post to this latter forum or simply do a search there as the question (though not exactly the same) has been covered. The above URL will open a page which (at the bottom right) has a section which deals exclusively with "Word" questions. Regards Dave.
    Dave
    <img src=/w3timages/redline.gif width=33% height=2>
    True happiness is not what you have to live WITH but what you have to live FOR. ASSBG

Posting Permissions

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