Salut
 
je voudrais remplacer dans un fichier html un Tag contenant un lien hypertexte par un mot.
Par exemple voici mon fichier:
 
	
	1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
   |  
<html>
<head>
<title>IP-BB Router Configuration</title>
</head>
<body>
<table cellspacing="0" border="1" cellpadding="15" frame="hsides">
  <thead>
    <tr>
      <th><a href="analyse_hosts.html">Host</a></th>
      <th>Netmask</th>
      <th>Network (Class, CIDR, Hosts)</th>
      <th>Router: Virtual-Router</th>
      <th>Interface</th>
    </tr>
  </thead>
  <tbody>
<tr><td>140.16.140.170</td><td>255.255.255.240</td><td>110.160.150.176 <br>(Class B, CIDR/28, 14 hosts)</td><td id="Router">BD_</td><td>Vlan: VLAN47</td></tr> | 
 je vooudrai remplacer la ligne 
	
	 <th><a href="analyse_hosts.html">Host</a></th>
  par 
 
Donc le lien hypertext devra etre supprimé.
 
J´ai essayé avec ~/ <th><a href="analyse_hosts.html">Host</a></th>/ <th>Host : router</th>/g mais ca ne marche pas.
 
quelqu´un a t-il une idée?
merci a bientot
						
					
Partager