Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Numbering / January 2008

Tip: Looking for answers? Try searching our database.

transpose footnote/endnote reference and punctuation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Amanda Redmond-Neal - 08 Jan 2008 00:41 GMT
hi.  i have a doc wherein almost all of the endnote references were inserted
before the periods and commas.  for publication, i need to make sure all
references come after the punctuation instead. i have read a lot about
find-and-replace expressions in my search for a solution, and learned a lot
of new things in the process, but not found anything that worked.
is anyone aware of a way i can do this other than manually?
Stefan Blom - 08 Jan 2008 08:57 GMT
Perform a wildcard search as follows:

"Find what": (^2)([\?\!\.\,\;])

"Replace with": \2\1

Click Replace All.

The characters listed in the brackets are those that should be replaced (you
can add and remove characters as desired). The backslash is used as an
escape character; it allows special characters to be found. (It is not
necessarily required for all of the characters entered in the search above;
I included it to avoid unexpected results.)

Signature

Stefan Blom
Microsoft Word MVP

> hi.  i have a doc wherein almost all of the endnote references were
> inserted
[quoted text clipped - 4 lines]
> of new things in the process, but not found anything that worked.
> is anyone aware of a way i can do this other than manually?
Amanda Redmond-Neal - 08 Jan 2008 17:53 GMT
thank you so much stefan.  i never thought i'd figure it out.  
after dealing with the footnotes, i attempted to use a string similar to
your "find what" suggestion below to transpose quotation marks and
punctuation, unsuccessfully.
i tried three versions:
(\")([\?\!\.\,\;])  ,
(")([\?\!\.\,\;])  , and
"([\?\!\.\,\;])  .
however, word didn't find any of the instance of  ".  or  ",  based on the
wildcard expression. can you tell me what i should be doing instead
certainly, i could simply not use wildcards, find ". and replace with ." but
now i want to learn more about how the wildcards work in various situations.  

> Perform a wildcard search as follows:
>
[quoted text clipped - 3 lines]
>
> Click Replace All.
Stefan Blom - 09 Jan 2008 11:43 GMT
Did you remember to enter *typographical* quotation marks in the Find &
Replace dialog box? On your keyboard, activate NUMLOCK, and then use
Alt+0148 (type the numbers on the numeric keypad) to insert ” (the right
paragraph mark in US English text). To get the left paragraph mark, use
Alt+0147. You don't need an escape character for that (of this I'm sure
:-) ). So you would use this:

(”)([\?\!\.\;])

for "Find what."

But I'm not sure if a wildcard search would be that useful in this case...
For example, a question mark is not necessarily part of quoted text.

Signature

Stefan Blom
Microsoft Word MVP

> thank you so much stefan.  i never thought i'd figure it out.
> after dealing with the footnotes, i attempted to use a string similar to
[quoted text clipped - 18 lines]
>>
>> Click Replace All.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.