Page 1 of 1

Multi-line Search - Replace?

Posted: Sun Jun 02, 2002 9:26 pm
by David L
I need to replace text that goes across several lines with updated text. I can't find how to accomplish this without doing several repeated search-replace procedures. Is there a way to accomplish this?

Thanks

Re: Multi-line Search - Replace?

Posted: Mon Jun 03, 2002 4:41 am
by Berend Hasselman
Yes.

When using reg. expressions you can use \n to span line boundaries.
But don't use this for anchoring on the end of a line.
More details are in Textpad help file.

Look in the help file for the following entries

1. How To, Find and Replace text, Use Regular Expressions
2. Reference Information, Regular Expressions.

Berend Hasselman