Forum Moderators: open

Message Too Old, No Replies

Code Replacement

With Dreamweaver MX

         

kevmeister

6:57 am on Aug 25, 2004 (gmt 0)

10+ Year Member



This is probably really simple, so here goes:

I'm using Dreamweaver MX to build a website with a lot of image galleries, and being the lazy idiot that I am, I've forgotten to include the alt tag with every single image on the site. I'm thinking that the Find and Replace feature could solve this for me with little work on my part but I'm not entirely sure.

I want to replace: <img src="images/XXX.jpg" />

With: <img src="images/XXX.jpg" alt="Image XXX"/>

With XXX being a 3-digit number.

I take it I'd need to use Regular Expressions for this? And if so...how? I googled for Regular Expressions and it's like reading Chinese. :D

Any help would be greatly appreciated.

lordanthony

12:36 pm on Aug 26, 2004 (gmt 0)

10+ Year Member



I'm no good at regex things but have you seen this $5 extension which will do what you want?

[valleywebdesigns.com...]