Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Wildcard search and replace in Dreamweaver



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

10+ Year Member


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)

WebmasterWorld Senior Member 10+ Year Member


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)

10+ Year Member

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)

WebmasterWorld Senior Member 10+ Year Member

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)

10+ Year Member

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!


Featured Threads

Hot Threads This Week

Hot Threads This Month