View Single Post
Old 01-26-2017, 08:37 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: 583
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Quote:
Originally Posted by Gary Friedman View Post
THANK YOU for your insightful answer! I will play with this some more tonight and let you know. (And when you say "dot-all" you really mean ".*", right?)

Gary
There is a checkbox below the "replace all" button labelled "dot all". Normally "." matches any character except "\n"; ticking this box makes it match "\n" as well, and "\s" (match a white-space character) will also match "\n". I generally keep it turned on, since line breaks are not necessarily at predictable places in HTML code. Plan B is to run a preliminary set of edits to put each para on a separate line, then remove any line breaks inside the paras so that each para is a single line.

Last edited by Phssthpok; 01-26-2017 at 09:12 AM.
Phssthpok is offline   Reply With Quote