Regular Expressions Help in Dreamweaver


hi using dreamweaver cs3, creating more 100 html files every couple of days , need use regular expressions feature in find , replace box couldn't find or generate expression looking for, want replace every images name same it's htm file name across htm files.

 

ex : cieg.htm

 

<tr>

    <td colspan="2"><table id="table_04" width="850" height="88" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td><img src="viva/xxxthefilenamexxx_38.gif" width="213" height="88"></td>

          <td><img src="viva/xxxthefilenamexxx_39.gif" width="212" height="88"></td>

          <td><img src="viva/xxxthefilenamexxx_40.gif" width="213" height="88"></td>

          <td><img src="viva/xxxthefilenamexxx_41.gif" width="212" height="88"></td>

        </tr>

      </table></td>

  </tr>

and replace be:

 

 

 

<tr>

    <td colspan="2"><table id="table_04" width="850" height="88" border="0" cellpadding="0" cellspacing="0">

        <tr>

          <td><img src="viva/cieg_38.gif" width="213" height="88"></td>

          <td><img src="viva/cieg_39.gif" width="212" height="88"></td>

          <td><img src="viva/cieg_40.gif" width="213" height="88"></td>

          <td><img src="viva/cieg_41.gif" width="212" height="88"></td>

        </tr>

      </table></td>

  </tr>

 

 

and same htm file named zsac.htm

 

any 1 knows way it???

 

regards



More discussions in Dreamweaver support forum


adobe

Comments

Popular posts from this blog

Flash Builder 4 - Debugger fails to connect

"Error compiling the data model"

Thread: Ubuntu not working - mount /dev on /root/dev failed : no such file or directory