2007-08-24

Microsoft Words editing

to replace some characters to some other other characters or words, usually we use replace.
for some editing purpose i need to replace some characters to become new line, then i got this as solution: replace the characters with "^11". ^11 is works, and i don't need to do it manually by selecting those characters one by one to press enter to get new line.



WD: Control Codes to Use with Find and Replace (Edit Menu)

View products that this article applies to.
This article was previously published under Q95474


SUMMARY
You can use the following control codes and special characters in Microsoft Word with the Find and Replace commands on the Edit menu (the Search menu in versions 1.x).


MORE INFORMATION
loadTOCNode(1, 'moreinformation');
NOTE: The caret character (^) must be typed. The caret is created by pressing SHIFT+6. (Don't confuse this symbol with the CTRL key.)







Characters String Matches
------------------------------------------------------------------

^1 Picture (Except pictures with Float Over Text
property, Word 98 Macintosh Edition)
^2 Auto-referenced footnotes
^3 Word 1.x: Footnote separator
all other versions of Word: this control character
is not used
^5 Annotation mark
^9 Tab
^10 Word 1.x: Linefeed
all other versions of Word: this control character
is not used
^11 New line
^12 Page OR section break
^13 Carriage return
^14 Column break
^19 Opening field brace
(when the field braces are visible)
^21 Closing field brace
(when the field braces are visible)
? Word 1.x: Any single character
(not valid in the Replace box)
all other versions of Word: Question Mark
^? Word 1.x - Word 2.x: Question mark
Word 6.x and later: Any single character
(not valid in the Replace box)
^- Optional hyphen
^~ Non-breaking hyphen
^^ Caret character
^# Word 6.x and later: Any digit
^$ Word 6.x and later: Any letter
^& Word 6.x and later: Contents of Find What box
(Replace box only)
^+ Word 6.x and later: Em Dash (not valid in the Replace
box)
^= Word 6.x and later: En Dash (not valid in the Replace
box)
^u8195 Word 98 Macintosh Edition: Em Space Unicode
character value search (not valid in the Replace box)
^u8194 Word 98 Macintosh Edition: En Space Unicode
character value search (not valid in the Replace box)
^a Word 6.x - Word 7.0: Annotation (not valid in the
Replace box)
Word 98 Macintosh Edition: Comment (not valid
in the Replace box)
^b Word 6.x and later: Section Break (not valid in the
Replace box)
^c Replace with Clipboard contents (Replace box only)
^d Word 1.x - 2.x: Section mark
Word 6.x and later: Field
^e Word 6.x and later: Endnote Mark (not valid in the
Replace box)
^f Word 6.x and later: Footnote Mark (not valid in the
Replace box)
^g Word 6.x and later: Graphic
^l New line
^m Word 1.x - 2.x: Duplicates search text (replace only)
Word 6.x and later: Manual Page Break


^n Word 1.x - Word 2.x: Linefeed (new line)
Word 6.x and later: Column break
^t Tab
^p Paragraph mark
^s Non-breaking space
^w White space (space, non-breaking space, tab; not valid
in the Replace box)
^nnn Where "n" is an ASCII character number
^0nnn Same as above, but uses ANSI characters (ALT+nnn PC only)
(Produces ASCII on Macintosh)
^unnnn Word 98 Macintosh Edition Unicode character
search where "n" is a decimal number corresponding to the
Unicode character value.




NOTE: To search for a specific field, such as an XE (Index Entry) field, use the following syntax:
^19 ‹field›
When you work with either the Search or Replace command in versions 1.x of Word for Windows, you can use the CTRL key to search or replace the following:



REFERENCES
In Word 98 Macintosh Edition, for more information about finding and replacing special characters, on the Help menu click "Contents and Index" next click the Index button and then type:
special characters, finding and replacing
In Word 7.0, for more information about finding and replacing special characters, click the Index tab in Help, and type:
special characters, finding
Double-click the selected topic to go to the "Special characters I can find and replace" topic.

For more information about finding and replacing formatting or special characters in versions 2.0, 2.0a, 2.0a-CD, and 2.0b of Word for Windows, refer to pages 260-266 of the "Microsoft Word for Windows User's Guide."

No comments:

Google Referrals