Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.formatting.longdocs
|
|||
|
|||
![]()
Hi everybody
I've tested around with RegEx in find and replace dialog. I'd like to replace the footnote numbers in the text AND in the footnote storyrange. The problem of the standard replace function is that every time I replace, Word adds new brackets but I only need one pair of brackts. I mean: number 1 should convert to (1) but not to ((1)). Well, with RegEx it works fine: Find: ([!( ])(^2) Replace: \1(\2) Problem: this works perfectly but only for the main text. It doesn't change the footnote numbers in the footnote storyboard. My problem with this RegEx is that Word marks the character left of the number. That's the reason why I replace with \1 If there's a chance of exclude the left bracket WITHOUT mark it, then I could solve the problem I think. Mhm, I hope anybody understands my problem. Sorry it's quite strange;-) Thanks a lot! Daniel |
#2
![]()
Posted to microsoft.public.word.formatting.longdocs
|
|||
|
|||
![]()
Hello
I've just solved the problem by myself. My problem was that I was looking for the left bracket. If I search the right bracket, then it's working wonderfully;-) Search for: (^2)([!)]) Replace with: (\1)\2 |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
PDF Page Number Brackets | Microsoft Word Help | |||
How to bookmark a footnote to reference the footnote number | Microsoft Word Help | |||
Removing brackets in HTML footnote reference | Microsoft Word Help | |||
How do I make an automatic number small caps under Number Format? | Microsoft Word Help | |||
Big problem footnote number sequence in a Word 2003 document | Microsoft Word Help |