View Single Post
Old 12-05-2008, 08:29 AM   #7
Gaurnim
Final Five n°42
Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.Gaurnim can teach chickens to fly.
 
Gaurnim's Avatar
 
Posts: 789
Karma: 3599
Join Date: Feb 2008
Location: Lyon, France
Device: Cybook Gen3
Quote:
Originally Posted by comtrjl View Post
Have you got Microsoft Word? If so, you can do that with Word's search and Replace -
make a backup in case it goes wrong and open in Word
get the find and Replace window up
click 'More' and select 'Use wildcards'
in 'Find what', put '_(*)_'
in 'Replace with', put '\1', click 'Format' at the bottom and select Font -> Italic
then click 'Replace' or 'Replace all'
(omit quotation marks)

bob
Hey, I didn't know we could use something like regexp in Word Search and Replace.
That opens some interesting avenues.
Just to test, I used '_([0-9]*)_' as a search string and was able to transform _123_ into italics.

Last edited by Gaurnim; 12-08-2008 at 10:08 AM. Reason: typo
Gaurnim is offline   Reply With Quote