How to duplicate "title" <a> as a "alt" of "img". using regex, manually?

Posted by jitendra on Stack Overflow See other posts from Stack Overflow or by jitendra
Published on 2010-03-27T11:09:48Z Indexed on 2010/03/27 11:43 UTC
Read the original article Hit count: 276

Filed under:
|
|

How to add title of link as a alt of img. using regex and in dreamweaver. I have to do in a large document. and in multiple files

Before

<a title="Whatever is written here" href="#" target="_blank">
<img width="14" height="14" src="#" /></a>

after

<a title="Whatever is written here" href="#" target="_blank">
<img width="14" height="14" src="#" alt="Whatever is written here" /></a>

© Stack Overflow or respective owner

Related posts about regex

Related posts about XHTML