View Single Post
 
Old 06-25-2017, 03:22 PM
eduzs eduzs is offline Windows 10 Office 2010 32bit
Expert
 
Join Date: May 2017
Posts: 266
eduzs is on a distinguished road
Default

Hi gmaxey, just one more little question, how can I merge two lines of text?

"The book is on the blue^p
table next to the door."

Result:

"The book is on the blue table next to the door."

I did this: "[!.:;]^13" to "^p", but does not work, the last character of the 1st paragraph disapear, resulting in "The book is on the blu table..."

Note that the code should only join the rows if "^ p" is not preceded by "." or ";" or ":".

Ps.: I did a trick, two passes, "[!.:;]^13", "^13¢", replace to "^&¢", " ".
Seems to work fine.

Thanks.
__________________
Backup your original file before doing any modification.

Last edited by eduzs; 06-25-2017 at 07:08 PM.
Reply With Quote