Re: [libreoffice-users] striping crlf

2024-01-04 Thread bill


I have a document that I copied from the original on the web 
(legally).  Now I need to modify it using LO.  The document has 
hard line breaks that I want to remove.  Using the find and 
replace form I can not figure out how to indicate a line break. 
With "Regular Expressions" selected /n, /n/lf fail.


What can I use to replace the line break with a space?

Thank  you

Thanks to all who helped.  I have been in Windows land for too 
long, thus the front slash.  When I used \n it worked just fine.


To Brian:
Many thanks, I actually was looking for line breaks not paragraph 
breaks: they clearly occurred in the middle of a sentence and 
once I went back to Linux land (in my thoughts) and used 
backslash  "\n", it worked fine.


I never tried $ as \n worked but thanks to Michael and Wiebe.

--
Bill Drescher
william {at} TechServSys {dot} com


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy


Re: [libreoffice-users] striping crlf

2024-01-03 Thread Michael D. Setzer II
After some testing, it seems the "$" without the quotes does the 
job? \n or \r doesn't find it? 
Not sure why $ works?


On 3 Jan 2024 at 11:08, bill wrote:

From:   bill 
Date sent:  Wed, 3 Jan 2024 11:08:39 -0500
To: LibreOffice 
Send reply to:  will...@techservsys.com
Subject:[libreoffice-users] striping crlf

> I have a document that I copied from the original on the web 
> (legally).  Now I need to modify it using LO.  The document has 
> hard line breaks that I want to remove.  Using the find and 
> replace form I can not figure out how to indicate a line break.  
> With "Regular Expressions" selected /n, /n/lf fail.
> 
> What can I use to replace the line break with a space?
> 
> Thank  you
> 
> -- 
> Bill Drescher
> william {at} TechServSys {dot} com
> 
> -- 
> To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
> Problems? 
> https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
> Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
> List archive: https://listarchives.libreoffice.org/global/users/
> Privacy Policy: https://www.documentfoundation.org/privacy


++
 Michael D. Setzer II - Computer Science Instructor 
(Retired) 
 mailto:mi...@guam.net
 mailto:msetze...@gmail.com
 mailto:msetze...@gmx.com
 Guam - Where America's Day Begins
 G4L Disk Imaging Project maintainer 
 http://sourceforge.net/projects/g4l/
++




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy