• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding a prefix or suffix to all headings in Word
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a prefix or suffix to all headings in Word


  • Subject: Re: Adding a prefix or suffix to all headings in Word
  • From: Jeremy Roussak <email@hidden>
  • Date: Sat, 13 Jun 2015 10:06:00 +0100

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).

Jeremy


Jeremy Roussak
email@hidden



On 13 Jun 2015, at 05:49, MulSubs <email@hidden> wrote:

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
  • Follow-Ups:
    • Re: Adding a prefix or suffix to all headings in Word
      • From: Jeremy Roussak <email@hidden>
References: 
 >Adding a prefix or suffix to all headings in Word (From: MulSubs <email@hidden>)

  • Prev by Date: Adding a prefix or suffix to all headings in Word
  • Next by Date: Re: Adding a prefix or suffix to all headings in Word
  • Previous by thread: Adding a prefix or suffix to all headings in Word
  • Next by thread: Re: Adding a prefix or suffix to all headings in Word
  • Index(es):
    • Date
    • Thread