• 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:23:01 +0100

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.

Jeremy

Jeremy Roussak
email@hidden



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

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

  • Prev by Date: Re: Adding a prefix or suffix to all headings in Word
  • Next by Date: AUTO: Allyn Martin is out of office.
  • Previous by thread: Re: Adding a prefix or suffix to all headings in Word
  • Next by thread: AUTO: Allyn Martin is out of office.
  • Index(es):
    • Date
    • Thread