This content has been marked as final.
Show 1 reply
-
1. Re: Matching across line breaks in source find & replace
CharlesBelov Dec 15, 2010 3:49 PM (in response to CharlesBelov)Corrected post:
Given sample code on three lines, with no trailing whitespace:
<TR > <TD >01301</TD> <TD >RETIRE CITY MISC</TD>
I would like to change it to
<TR > <TD >01301 RETIRE CITY MISC</TD>
and make similar changes to all other such occurrances across many files.
I tried Find & Replace, Source code, Use regular expressions with the following:
From:
<TR >\n<TD >([^<]*)</TD>\n<TD >([^<]*)</TD>
To:
<TR >\n<TD >\1 \2</TD>
and Dreamweaver found no matches. I also tried with
\n\rinstead of just \n, with the same results; escaping the < > and / didn't help either. How can I match across the line breaks?
