^%*$
^% is a % at the start of a paragraph * is any number of characters $ a paragraph break
It doesn't work. If I try just ^%*, only the % gets deleted. If * represents any number of characters, that should delete everything.
tc
David Welton wrote:
On Thu, 17 Feb 2005 10:40:17 -0500, Anthony Chilco <[EMAIL PROTECTED]> 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:
Yeah I had read that, but hoped that there was some way to get around it:-( I guess I could fiddle with the XML, but that doesn't strike me as being a particularly pleasant approach.
\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.
Yes, to me it seems there ought to be one way to specify a character, visible or not, in both fields.
Thanks for your help in any case,
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
