/t5/dreamweaver-discussions/regex-problem/td-p/514778Nov 30, 2007
Nov 30, 2007
Copy link to clipboard
Copied
I have Dreamweaver 2004 and am using it's Find and Replace
with Use regular expression.
With an html file I am trying to find a section of code that
has <meta name="Copyright and the first <p>. I have tried
\s*<meta name="Copyright"([\s\w\W]+)(?=<p>)
(and many more like this!) but the result contains the last
<p> of the file and all that is in between. I only want the
first <p>. What do I do?
Scotty S wrote:
> With an html file I am trying to find a section of code
that has <meta
> name="Copyright and the first <p>.
<meta name="Copyright"[\s\w\W]+?<p>
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
/t5/dreamweaver-discussions/regex-problem/m-p/514779#M95568Nov 30, 2007
Nov 30, 2007
Copy link to clipboard
Copied
Scotty S wrote:
> With an html file I am trying to find a section of code
that has <meta
> name="Copyright and the first <p>.
<meta name="Copyright"[\s\w\W]+?<p>
--
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/