homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

Wildcard search and replace in Dreamweaver

 12:07 pm on Nov 11, 2005 (gmt 0)


Anyone know if DW can seach and replace using a wildcard.

I need to remove conent between form tags on lots of pages but the content is different in each form.. I was wondering if in DW search and replace there is a way to say all conent between these tags to be removed regardless.

I have googled this but no luck yet




 8:54 pm on Nov 13, 2005 (gmt 0)


You can do this - Dreamweaver allows you to use regular expressions in search queries.

Look at the diaologue box for search and replace and you will see a check box - to use regular expressions click help and it will lead you to the functions of search. It should allow you to do what ever kind of F&R you could think of.

Alternativley search for "regular expression dreamweaver search and replace" - should be what you are looking for.

[edited by: limbo at 9:14 pm (utc) on Nov. 13, 2005]


 9:01 pm on Nov 13, 2005 (gmt 0)

Thanks I will look into this, not sure what expressions are but know of thier existence

thanks again



 9:15 pm on Nov 13, 2005 (gmt 0)

The regular expression you seek is:

so if you want to change all these:

<a class="wildcat" href="lion.html">
<a class="wildcat" href="tiger.html">
<a class="wildcat" href="leopard.html">


<a class="wildcat" href="bigcat.html">

you search for:

<a class="wildcat" href="[^"]*">

and replace with:

<a class="wildcat" href="bigcat.html">

(make sure you tick the match case & regular expressions + seclect 'source code')


 9:23 pm on Nov 13, 2005 (gmt 0)

Thanks Limbo

I will try this out, sounds exactly what I am looking for - :-)



 2:26 pm on Nov 17, 2005 (gmt 0)


Could you help me with this:

Need to find pages that DON'T contain </HEAD>


We have an intranet with THOUSANDS of pages... I have tagged most of the pages that have </HEAD> with special code.

I am wanting to find all the pages that DON'T have </HEAD>.

How do I do this with dreamweaver or an external tool

PLEASE help!

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved