Return to Snippet

Revision: 15132
at June 25, 2009 12:55 by rwczippy


Initial Code
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">

to:

<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')

Initial URL
http://www.webmasterworld.com/forum46/1288.htm

Initial Description
http://www.trentmueller.com/blog/search-and-replace-wildcard-characters-in-dreamweaver.html
-and-
http://www.webmasterworld.com/forum46/1288.htm

Initial Title
regex in Dreamweaver

Initial Tags
regex, html, code

Initial Language
Regular Expression