macromedia.dreamweaver.appdev
[Top] [All Lists]

RegEx problem

Subject: RegEx problem
From: "Scotty S"
Date: Fri, 30 Nov 2007 20:26:06 +0000 UTC
Newsgroups: macromedia.dreamweaver.appdev

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?

 Thanks.


<Prev in Thread] Current Thread [Next in Thread>
  • RegEx problem, Scotty S <=