Wildcard Find/Replace (This is over my head.)
I want to change (in multiple files):
<div></div><h1>Page Title</h1>
to
<div><h1>Page Title</h1></div>
So I tried to Find:
<div></div><h1>[^"]*</h1>
and Replace with:
<div><h1>[^"]*</h1></div>
The [^"]* is something I found on find/replace help pages. Using a simple * or \* didn't find it.
Dreamweaver found the correct string of code and moved the </div> where I needed it, but it literally replaced the title with [^"]*
The find only worked when "use regular expressions" was selected. Otherwise, it doesn't find it at all.
Almost everything I've read about wildcards is way over my head, so please make sure you dumb down your answers for me. I've wasted so much time on this, I could have changed 50 pages by hand already. Just seems like using a wildcard should be so much easier than this. Hopefully I'm missing something very simple. Thanks!
