View Single Post
Old 02-17-2014, 03:04 PM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The idea is not to use conditions (replace with this if it has a space, and with that otherwise), but to include all cases in the same condition (replace "..." preceded by zero or more spaces, all of that, with " …").

If you want to be more specific (replace only if there is a letter before the zero-or-more spaces, replace at most one space, etc.) it can be done too.
Jellby is offline   Reply With Quote