View Single Post
Old 11-18-2017, 06:22 AM   #9
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: 580
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by mikapanja View Post
@ Phssthpok

Excellent, many thanks!

<nitpicking> Your solution matches the whole line, everything between the opening and closing tags containing multiple spaces (which in itself is very useful).

Could you perhaps come up with a regex that matches such spaces only?</nitpicking>
Nope!

But I assume that it's the spaces you want to replace --and what I gave you will at least do that. The replacement string replaces them with a single space, which I assumed was what you wanted.
Phssthpok is offline   Reply With Quote