Actually, although my heading 2 suggestion works, the body text replacement, with something after the \1, fails. Not sure why. Only half way there, then: apologies.
On 13 Jun 2015, at 10:06, Jeremy Roussak < email@hidden> wrote:
Chris,
In the find/replace box,
Search for (*^13) with style Heading 2 (matches all of the heading) Replace with [A]\1 with style Heading 2 (replaces all of the heading with [A] and all of the heading)
It seems to work.
For your body text replacement, use [EXT]\1[ \\EXT] as your replacement text (note the double backslash).
Hi folks,
I have a long Word document and need to add a tag before every Heading 2. E.g., The Plan (in Heading 2), becomes [A]The Plan (still in Heading 2). Similarly all block text (currently with a style of its own) needs to have tags inserted at start ( [EXT] )and finish ( [\EXT] ). I can't get Words wildcards to do it for me and wonder about a script. Any pointers to a source of advice would be great. (I have read the standard "how to use wildcards in Word" documents around the web. Cheers, Chris
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
|