symbols for hard carriage return

  • Thread starter Thread starter Steve 4454
  • Start date Start date
S

Steve 4454

I am doing some Find and Replace steps in Word 2002 but some of them are not
responding properly. Specifically, I am trying to replace some hard
carriage returns with ^p. I know that sometimes the symbols ^13 and ^013
seem to help get Word to recognize the hard carriage returns but some are
still not responding.

Are there any other symbols I should use to change the hard carriage returns
into something that will then respond when I use ^p??

TIA
 
^10 sometimes displays as the hard paragraph mark in Word, as does a ^13^10
combination. You might try those. (^11 should show up as a soft line break.)
 
Thanks. I tried your suggestions.

I still have a document that I downloaded that has many ^p^p^p combinations
and when I try to do FIND ^p^p^p and REPLACE with ^p^p, none of them are
being picked up. But when I do a simple FIND with ^p^p^p, Word stops at
every one of them!

First time I have encountered this......
 
Hi Steve,

Replace all ^13 with ^p, then all ^10 with ^p first... that should fix them
for good, and then you should have no problems searching for ^p^p^p...

Or if you want to replace multiple paragraph marks with single paragraph
marks anyway, do a wildcard replacement (check "Use wildcards")

Find what: [^13^10]{1;}
Replace with: ^p

That should replace any combination of ^13 and ^10 with a "real" paragraph
mark.

Greetings,
Klaus
 
Sorry, forgot that Word won't let you search for ^10 in wildcard searches.
Ironically, it will find them if you search for [^9-^11].
It looks like another case of "Mummy knows best" (... because ^10 shouldn't
appear in a Word doc, the user must have made an error if he wants to search
for it).

Since you likely don't want to mess up tabs (^9) and manual line breaks
(^11), it's back to plan A though.

Klaus
 
Find what: [^13^10]{1;}

What is the difference between {1,} {1;} and just "@" ?

As far as I know about wildcards, the comma means "one or more occurrences",
but so does the "@" symbol. What does the semi-colon do?

Steve Wylie
 
Maybe it indicates a typo?

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Steve Wylie said:
Find what: [^13^10]{1;}

What is the difference between {1,} {1;} and just "@" ?

As far as I know about wildcards, the comma means "one or more occurrences",
but so does the "@" symbol. What does the semi-colon do?

Steve Wylie
 
What is the difference between {1,} {1;} and just "@" ?
[...] What does the semi-colon do?
Maybe it indicates a typo?


Not too improbable in my posts. This time. I have a feeble excuse though.

You have to use the "field delimiter" from the Windows regional settings.
No idea why.

In Germany, that's a semi-colon instead of a comma, and I forgot to change
it to a comma.

Excuses,
Klaus
 
Forgiven

Please post any further questions or followup to the newsgroups for the
benefit of others who may be interested. Unsolicited questions forwarded
directly to me will only be answered on a paid consulting basis.

Hope this helps
Doug Robbins - Word MVP
Klaus Linke said:
What is the difference between {1,} {1;} and just "@" ?
[...] What does the semi-colon do?
Maybe it indicates a typo?


Not too improbable in my posts. This time. I have a feeble excuse though.

You have to use the "field delimiter" from the Windows regional settings.
No idea why.

In Germany, that's a semi-colon instead of a comma, and I forgot to change
it to a comma.

Excuses,
Klaus
 
Back
Top