Personal Book in Word search and replace with Wildcards

Page 1 of 1 (5 items)
This post has 4 Replies | 0 Followers

Posts 2947
Sascha John | Forum Activity | Posted: Mon, Nov 7 2016 1:56 AM

I know I ask this before, but I can not find it. Can someone please tell me how I change

1. A und O

into

1. A und O [[@Headword:A und O]]

by using Wildcards for all Headings?

Thanks

Sascha

Posts 345
Bernhard | Forum Activity | Replied: Mon, Nov 7 2016 3:13 AM

Try this:

Find: (^13[0-9]@. )([!^13]@)(^13)

Replace: \1\2[[@Headword:\2]]\3

Posts 345
Bernhard | Forum Activity | Replied: Mon, Nov 7 2016 3:16 AM

But if any other lines also start with a number like that, then it will lead to problems obviously. If those headwords already are formatted in a certain style, you can add that to the search (but in that case, you might need to delete the first "^13" - but that again will lead to problems  if there are numbers followed by a period in the middle of those lines).

Posts 2947
Sascha John | Forum Activity | Replied: Mon, Nov 7 2016 3:26 AM

Yes

Posts 2947
Sascha John | Forum Activity | Replied: Mon, Nov 7 2016 3:34 AM

Find ([0-9]. )([!^13]@)(^13) worked thanks

Page 1 of 1 (5 items) | RSS