Posted By

rwczippy on 06/25/09


Tagged

regex html code dreamweaver


Versions (?)

regex in Dreamweaver


 / Published in: Regular Expression
 

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

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

  1. The regular expression you seek is: [^"]*
  2.  
  3. so if you want to change all these:
  4.  
  5. <a class="wildcat" href="lion.html">
  6. <a class="wildcat" href="tiger.html">
  7. <a class="wildcat" href="leopard.html">
  8.  
  9. to:
  10.  
  11. <a class="wildcat" href="bigcat.html">
  12.  
  13. you search for:
  14.  
  15. <a class="wildcat" href="[^"]*">
  16.  
  17. and replace with:
  18.  
  19. <a class="wildcat" href="bigcat.html">
  20.  
  21. (make sure you tick the match case & regular expressions + seclect 'source code')

Report this snippet  

You need to login to post a comment.