View Single Post
Old 09-04-2011, 02:45 AM   #1
organized_chaos
Junior Member
organized_chaos began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2010
Device: iPhone, Sony PSP, Android, Kindle
Question Need to change words surrounded by _ to italics

I have a book I purchased from Amazon but there is one problem with it.

Every word that should be in italics is surrounded by _underscores_. I want to edit this book and change the underscores to italics but I'm not sure how. I removed the DRM from the book and converted it to HTMLZ format. My plan was to replace the _ with the html code for italics. The only thing is, one underscore needs to be <i> and the other needs to be </i>. I can replace all underscores with <i> or </i> using the Find and Replace option... but I can't do half and half like I need to.

How can I accomplish my goal without manually replacing everything one at a time?
organized_chaos is offline   Reply With Quote