Thread: LRF output
View Single Post
Old 04-06-2010, 12:13 AM   #869
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,188
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by pepak View Post
Just get a good editor and run a correct regexp (regular expression search and replace):

1) For moving the punctuation inside the emphasis:
search = (</em>)([.,!?;:]+)
replace = $2$1

2) For moving the punctuation outside the emphasis:
search = ([.,!?;:]+)(</em>)
replace = $2$1
I'm guessing Notepad++ would do the trick? this seems far too advanced for Wordpad.
Amalthia is offline   Reply With Quote