+ Reply to Thread
Results 1 to 6 of 6

Formating all words within brackets

  1. #1
    Registered User
    Join Date
    08-31-2015
    Location
    Berlin
    MS-Off Ver
    Office 2010
    Posts
    3

    Formating all words within brackets

    Hi,

    I think, I need help with this problem of mine. I have a huge word-file with this kind of things:

    Normal Text and then there is something like this {testword} or this {test-word} or even this {test2word} an so on.

    What I want to do is, formating all words within these brackets (and the brackets too) as italics:

    Normal Text and then there is something like this {testword} or this {test-word} or even this {test2word} an so on.

    Thank you very much for your help!

  2. #2
    Forum Expert
    Join Date
    02-14-2009
    Location
    .
    MS-Off Ver
    ................
    Posts
    2,840

    Re: Formating all words within brackets

    Go to the Find/Replace dialogue.

    Click the 'Use Wildcards' option (You may need to click the 'More>>' button to view)
    Click the 'Format' button and change the formatting as needed.
    Enter (\{)(*)(\}) in the 'Find What:' box
    Enter \1\2\3 in the 'Replace With:' box.

    Click 'Replace All'

  3. #3
    Registered User
    Join Date
    08-31-2015
    Location
    Berlin
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Formating all words within brackets

    Great!
    Thank you very much for your help!

  4. #4
    Registered User
    Join Date
    08-31-2015
    Location
    Berlin
    MS-Off Ver
    Office 2010
    Posts
    3

    Re: Formating all words within brackets

    Great!
    Thank you very much for your help!

  5. #5
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Formating all words within brackets

    A simpler wildcard Find/Replace expression would be:
    Find = \{*\}
    Replace = ^&
    and set the Replace format to italic.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

  6. #6
    Registered User
    Join Date
    01-25-2017
    Location
    USA
    MS-Off Ver
    office 3.0
    Posts
    5

    Re: Formating all words within brackets

    Thanks for the kind information

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Automating Brackets, and Sum above Brackets in Excel Chart
    By cartica in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 07-24-2014, 11:33 AM
  2. [SOLVED] Conditional Formating based on words
    By arun.sj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-11-2014, 06:55 AM
  3. [SOLVED] Removing brackets from words!
    By JRidge in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-19-2013, 04:43 AM
  4. [SOLVED] Routine to remove brackets around words, leaving the format intact. Doesn't always work.
    By staggers47 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 04-30-2013, 09:02 AM
  5. conditional formating sums in brackets
    By ekoot in forum Excel General
    Replies: 4
    Last Post: 11-29-2012, 11:05 AM
  6. Replies: 5
    Last Post: 04-19-2012, 09:02 AM
  7. Word Formating & Words Adding
    By Kelvin Lee in forum Excel General
    Replies: 1
    Last Post: 11-28-2005, 12:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1