Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - replace with carriage return
replace with carriage return
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
slaw
Captain


Joined: Jan 20, 2005
Posts: 71

PostPosted: Wed Jun 11, 2008 9:35 pm    Post subject: replace with carriage return

I'd like to find a character and replace it with a carriage return.

I clicked the regular expressions box, and it works with the "find" entry but not with the "replace with" entry in Find and Replace.

The problem I'm trying to solve is getting rid of carriage returns at the end of every line (where there should be line feeds), but not the ones legitimately at the end of paragraphs.

To do this, I can
find all empty paragraphs and replace them with some unused character,
find all carriage returns and replace them with a blank,
find all the (previously) unused characters and replace them with carriage returns.

That last one is where I'm stuck.

Or is there a better way?
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.