View Single Post
Old 02-04-2012, 05:01 PM   #14
WS64
WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.WS64 ought to be getting tired of karma fortunes by now.
 
WS64's Avatar
 
Posts: 661
Karma: 506380
Join Date: Aug 2010
Location: Germany
Device: Kobo Aura / PB Lux 2 / Bookeen Frontlight / Kobo Mini / Nook Color
Quote:
Originally Posted by Ahmad Samir View Post
You should be more careful with such replacements, e.g. use something like (regex):
Find: ([^=])"(\w)
Replace: \1«\2
I'm aware of that...
What I use to replace " is something like this:
Find: (>[^<]*)"
Replace: \1«
(of course my real statement is a bit more complicated since I don't want all "s to «s...)
But with the above statement you will just search (and replace) outside of HTML or XML tags.
WS64 is offline   Reply With Quote