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
David Welton wrote:
On Wed, 16 Feb 2005 14:43:04 -0500, David Teague <[EMAIL PROTECTED]> wrote:
I have one more problem now, though. I want to transform paragraphs
into 'returns' (what you get when you do shift-enter. I'm not having
a lot of success finding and replacing, though. The $ regexp finds
the end of a paragraph just find, but I don't know what to replace it
with. \n just puts in another paragraph. \r doesn't do anything. That dialog box doesn't let you input shift-return. Hints
appreciated.
Thanks,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
