Remove HRt commands or Word equivalent

M

marc_isaacs

This is a problem that has plagued me since my first daze [sic] of
using Word. According to Google, apparently I am not alone.
I have many occasions to capture text from the Internet to PDF for
later examination. If it is then necessary to copy/paste some of that
text into Word, the lines are often truncated and I need to reformat
them. I know about Find/Replace: ^p and [space] however this runs
EVERYTHING together if I use the Replace All command. To use the above
Find/Replace line by line is unpractical. In WordPerfect, it was
possible to hightlight text and run a macro that removed end-of-line
HRt commands but not in Word.

Surely, SURELY, there is a better way to control this operation.

Thank you.
 
P

Peter T. Daniels

By EVERYTHING, do you mean that paragraphs are not recognized?

Paragraphs in such text are usually done with two Returns, so all you
have to do is first Find/Replace All ^p^p with something that doesn't
otherwise appear in your text (such as Line Break, ^l [lowercase L]),
then Find/Replace All ^p with nothing or with space (depending how the
line-ends were treated in the original), then Find/Replace All ^l with
^p.

It can easily be handled with a macro if you're going to do this
often.
 
M

marc_isaacs

After almost two years of fussing with this, I am sitting here with an
idiot's grin at the prospect of finally having a resolution to the
problem. I look forward to trying your kind gift as soon as I log off
the forum.

THANK YOU!


By EVERYTHING, do you mean that paragraphs are not recognized?

Paragraphs in such text are usually done with two Returns, so all you
have to do is first Find/Replace All ^p^p with something that doesn't
otherwise appear in your text (such as Line Break, ^l [lowercase L]),
then Find/Replace All ^p with nothing or with space (depending how the
line-ends were treated in the original), then Find/Replace All ^l with
^p.

It can easily be handled with a macro if you're going to do this
often.

This is a problem that has plagued me since my first daze [sic] of
using Word. According to Google, apparently I am not alone.
I have many occasions to capture text from the Internet to PDF for
later examination. If it is then necessary to copy/paste some of that
text into Word, the lines are often truncated and I need to reformat
them. I know about Find/Replace: ^p and [space] however this runs
EVERYTHING together if I use the Replace All command. To use the above
Find/Replace line by line is unpractical. In WordPerfect, it was
possible to hightlight text and run a macro that removed end-of-line
HRt commands but not in Word.

Surely, SURELY, there is a better way to control this operation.

Thank you.
 
P

Peter T. Daniels

Well, maybe you should see if it works, first ... BTW sometimes they
put a space in the "empty" paragraph between two text paragraphs. In
that case ^p^p won't find anything, and you must try " ^p ^p ", i.e.
type a space between the two ^p's.

After almost two years of fussing with this, I am sitting here with an
idiot's grin at the prospect of finally having a resolution to the
problem. I look forward to trying your kind gift as soon as I log off
the forum.

THANK YOU!

By EVERYTHING, do you mean that paragraphs are not recognized?
Paragraphs in such text are usually done with two Returns, so all you
have to do is first Find/Replace All ^p^p with something that doesn't
otherwise appear in your text (such as Line Break, ^l [lowercase L]),
then Find/Replace All ^p with nothing or with space (depending how the
line-ends were treated in the original), then Find/Replace All ^l with
^p.
It can easily be handled with a macro if you're going to do this
often.
This is a problem that has plagued me since my first daze [sic] of
using Word. According to Google, apparently I am not alone.
I have many occasions to capture text from the Internet to PDF for
later examination. If it is then necessary to copy/paste some of that
text into Word, the lines are often truncated and I need to reformat
them. I know about Find/Replace: ^p and [space] however this runs
EVERYTHING together if I use the Replace All command. To use the above
Find/Replace line by line is unpractical. In WordPerfect, it was
possible to hightlight text and run a macro that removed end-of-line
HRt commands but not in Word.
Surely, SURELY, there is a better way to control this operation.
Thank you.-
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top