Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Replace Formatting With Tags
Hi,
I am trying to find out if I can achieve the following. I need to replace formatting such as bold and italics with UBB tags at the start and end of the formatted words. The modified test is then pasted into a message on an Internet Forum. For example if I had "some bold text" I want to end up with "some bold text". I have tried various options using find & replace but the nearest I can get to is to put tags around each individual character. The end result works but it is very clumsy having so may tags. Is there a way that I can find the start and end of each piece of formatted text. Thanks in advance, Bob Beveridge. |
#2
|
|||
|
|||
In the find what box type CTRL+B this will display format font bold - leave
the box empty in the replace box enter [b]^&[\b] and if you want the resulting text not bold type CTRL+B twice in the replace box to give format font not bold. Repeat for italic (CTRL+I) -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Bob Beveridge wrote: Hi, I am trying to find out if I can achieve the following. I need to replace formatting such as bold and italics with UBB tags at the start and end of the formatted words. The modified test is then pasted into a message on an Internet Forum. For example if I had "some bold text" I want to end up with "some bold text". I have tried various options using find & replace but the nearest I can get to is to put tags around each individual character. The end result works but it is very clumsy having so may tags. Is there a way that I can find the start and end of each piece of formatted text. Thanks in advance, Bob Beveridge. |
#3
|
|||
|
|||
Graham,
Thanks so much for the reply - it works like a dream! Bob. "Graham Mayor" wrote: In the find what box type CTRL+B this will display format font bold - leave the box empty in the replace box enter [b]^&[\b] and if you want the resulting text not bold type CTRL+B twice in the replace box to give format font not bold. Repeat for italic (CTRL+I) -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Bob Beveridge wrote: Hi, I am trying to find out if I can achieve the following. I need to replace formatting such as bold and italics with UBB tags at the start and end of the formatted words. The modified test is then pasted into a message on an Internet Forum. For example if I had "some bold text" I want to end up with "some bold text". I have tried various options using find & replace but the nearest I can get to is to put tags around each individual character. The end result works but it is very clumsy having so may tags. Is there a way that I can find the start and end of each piece of formatted text. Thanks in advance, Bob Beveridge. |
#4
|
|||
|
|||
You are welcome
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Bob Beveridge wrote: Graham, Thanks so much for the reply - it works like a dream! Bob. "Graham Mayor" wrote: In the find what box type CTRL+B this will display format font bold - leave the box empty in the replace box enter [b]^&[\b] and if you want the resulting text not bold type CTRL+B twice in the replace box to give format font not bold. Repeat for italic (CTRL+I) -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Bob Beveridge wrote: Hi, I am trying to find out if I can achieve the following. I need to replace formatting such as bold and italics with UBB tags at the start and end of the formatted words. The modified test is then pasted into a message on an Internet Forum. For example if I had "some bold text" I want to end up with "some bold text". I have tried various options using find & replace but the nearest I can get to is to put tags around each individual character. The end result works but it is very clumsy having so may tags. Is there a way that I can find the start and end of each piece of formatted text. Thanks in advance, Bob Beveridge. |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Replace List Formatting | Microsoft Word Help | |||
Find and Replace anomaly | Microsoft Word Help | |||
Find Replace bold formatting with delimiter | Microsoft Word Help | |||
Find Replace bold formatting with delimiter | New Users | |||
Apply Style but keep direct formatting? | New Users |