Reply at bottom. On Fri, 2005-02-18 at 04:40, Anthony Chilco wrote: > Hi David, > Very weird. You can search for row breaks (shift-enter), but > you can't replace with them. This is from the regular > expressions help page: > > \n > Finds a hard row break that was inserted with Shift+Enter. > To change row breaks into paragraph breaks, enter \n in the > Search for and Replace with boxes, and then click the > Replace all button. > > From this I infer that \n means row break when used in the > search box and it means paragraph break when used in the > replace box. You can search for paragraph breaks using > regular expressions with $ in the search box, but you don't > have the option to replace with a row break because the \n > expression means paragraph break when replacing. It seems to > be deliberate when you read the help, but doesn't look right > to me. > tc
I have written a generic find replace macro that, I hope, makes it easier to use regular expressions and also you can use \n in both the find and replace fields to mean row break. The macro is in a document called IannzFindReplace.sxw which has instructions for its use and installation. The document is available from: http://homepages.paradise.net.nz/hillview/OOo/ Thanks, Ian Laurenson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
