View Single Post
Old 10-07-2012, 05:10 AM   #23
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 644
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD
At beginning of the Group created to change the characters, have another regex which will alter any entities to include '<' & '>', then also have one at end of group which removes them again.
EDIT: remove space after ';' chars (poxy smilies )
EDIT (Jellby): no need to remove anything, you can use the [noparse] tag when posting
Before
Find: (&.{,5};)
Replace: <\1>

After
Find <(&.{,5};)>
Replace: \1

Last edited by Jellby; 10-07-2012 at 05:39 AM.
Perkin is offline   Reply With Quote