Reply
 
Thread Tools Display Modes
  #1   Report Post  
Loes Loes is offline
Junior Member
 
Posts: 1
Default find & replace in footnotes

I have two long documents, with many footnotes, that need to be formatted. Both documents present a different problem in the footnotes, which I would like to solve using a regular expression.

1. Punctuation sign (full stop) missing at the end of a footnote.
I use the following regular expression:
find (search all footnotes that do not end with a punctuation sign), use wildcards activated: ([!.\?\!])(^13)(^2)
replace (add full stop at the end of footnotes not ending with a punctuation sign): \1.\2\3
The regular expression finds the footnotes that should be corrected without any problems, but does not do anything when pressing 'replace', nor 'replace all'.

2. Footnotes separated by a white line, i.e. additional hard return.
I use the following regular expression:
find (search all footnotes that are separated from the next one by an additional hard return), use wildcards activated: (^13)(^13)(^2)
replace (remove one of both hard returns): \2\3
The regular expression, again, finds the footnotes that should be corrected without any problems, but does not do anything when pressing 'replace', nor 'replace all'.

I have the impression the paragraph mark is blocking both regular expressions (looks like Word is thinking I am replacing the paragraph mark at the end of the footnote, which is not allowed). Can anyone confirm this idea and offer some help how to solve it?

Thanks in advance!
Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find+Replace Dialog Box, Replace with Format problem Kathy Microsoft Word Help 3 February 1st 08 04:26 AM
Find multiple characters in one find using MSword find/replace Cliff Microsoft Word Help 2 October 29th 06 07:48 PM
Using find and replace or macros to replace page ranges JeremyC Microsoft Word Help 7 February 13th 06 09:20 PM
Find/ Replace is auto-capping the words I want to replace with Graham Mayor Microsoft Word Help 8 January 27th 06 01:39 AM
Find should search text AND footnotes when starting in footnotes Ted Sichelman Microsoft Word Help 0 November 10th 05 07:42 PM


All times are GMT +1. The time now is 04:17 AM.

Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.
Copyright 2004-2023 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"