View Single Post
Old 01-25-2017, 01:00 PM   #2
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 582
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
The best thing to do is to undo the change on the file you show, and do "Find" to see what gets highlighted before you hit "Replace". I suspect that you should use "dot-all" instead of "(.|\n)", and use a much more specific regex (e.g. look specifically for "<img"). I've often tripped up with things like "<.*?>x" when I wanted a tag followed by x, and it matched "<...>...<...>x" instead -- but changing it to "<[^>]*>x" worked fine.

Last edited by Phssthpok; 01-25-2017 at 01:08 PM.
Phssthpok is offline   Reply With Quote