I trying to get text only from html code (no tags and exec)
I used the next command (regular expression):
htmlSurce = htmlSurce.replaceAll("\\<.*?*\\>", "");
it works fine but all the text between <!-- --> is not removed
how can I remove it???

Recommended Answers

All 5 Replies

Are you sure you aren't missing a . right before the second ?
I just did something similar in Perl so I can probably help.. but an example of what your input and output are would be nice.

the Above regEX is a 'copy past' from the code. the only thing that I'm sure of is that it is not working right!

im at work right now , foolishly i didn't bring my laptop with me, so i don't have the code for uploading, i will be at home in 4 -5 hours , than i will post the input/output

input:

"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta name="verify-v1" content="zTukAViBDsrRH6qg5loH1oV2POjYyhTNi6ERWbzs0AI=" /> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<title>1394 Trade Association</title> 
<style type="text/css"> 
<!-- 
body { 
	background-color: #33332D; 
} 
body,td,th { 
	color: #33332D; 
	font-family: Verdana; 
	font-size: 11px; 
} 
a:link {  
color: #000000; 
text-decoration: underline;   
}  
a:visited {  
color: #354a59;  
text-decoration: underline;  
}  
a:active {  
color: black;  
text-decoration: underline;  
}  
a:hover {  
color: #354a59;  
text-decoration: underline;  
} 
h1 { 
	font-size: 11px; 
	color: #A7A977; 
} 
h2 { 
	font-size: 12px; 
	color: #808059; 
	font-family: Verdana; 
	font-weight: bold; 
	margin-left: 20px; 
	margin-top: 15px; 
} 
.style5 { 
	color: #e0e0ca; 
	font-size: 9px; 
	font-weight: bold; 
	margin-left: 20px; 
} 
.style8 { 
	color: #000000; 
	font-weight: bold; 
	font-size: 10px; 
	margin-left: 20px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
.style9 { 
	color: #000000; 
	margin-left: 30px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
div#submenu {  
margin:0 auto;  
width: 880px; 
} 
.style10 { 
	color: #FFFFFF; 
	font-size: 9px; 
} 
.style11 { 
	font-weight: bold; 
	font-size: 10px; 
} 
--> 
</style> 
<script type="text/JavaScript"> 
<!-- 
function MM_swapImgRestore() { //v3.0 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 
} 
 
function MM_preloadImages() { //v3.0 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 
} 
 
function MM_findObj(n, d) { //v4.01 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 
  if(!x && d.getElementById) x=d.getElementById(n); return x; 
} 
 
function MM_swapImage() { //v3.0 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 
} 
 
function MM_showHideLayers() { //v3.0  
var i,p,v,obj,args=MM_showHideLayers.arguments;  
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];  
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }  
obj.visibility=v; }  
} 
function changeFontSize(inc){   
var p = document.getElementsByTagName('p');   
for(n=0; n<p.length; n++) {     
if(p[n].style.fontSize) {        
var size = parseInt(p[n].style.fontSize.replace("px", ""));     
} else {        
var size = 12;    }    p[n].style.fontSize = size+inc + 'px';   }} 
//--> 
</script> 
<link rel="shortcut icon" href="favicon.ico" > 
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> 
<style type="text/css"> 
<!-- 
.style12 {color: #FFFFFF} 
--> 
</style> 
</head> 
<body onload="MM_preloadImages('images/menuButtons/Button_Consumers_On.jpg','images/menuButtons/Submenu_Consumers.png','images/menuButtons/Button_Home_On.jpg')" leftmargin="0" topmargin="8"> 
<map name="SubmenuMap_1"> 
<area shape="rect" coords="538,0,669,32" href="consumers/Resources.html" title="Additional Resources" alt="Additional Resources" /> 
<area shape="rect" coords="416,0,534,32" href="consumers/ShareYourSolution.html" title="Share Your Solutions" alt="Share Your Solutions" /> 
<area shape="rect" coords="317,0,411,32" href="consumers/AskAQuestion.html" title="Ask A Question" alt="Ask A Question" /> 
<area shape="rect" coords="247,0,312,32" href="consumers/HowTo/index.html" title="How Tos" alt="How Tos" /> 
<area shape="rect" coords="159,0,242,32" href="consumers/FAQ.html" title="Facts and FAQs" alt="Facts and FAQs" /> 
<area shape="rect" coords="45,0,155,32" href="consumers/WhatIsFireWire.html" title="What Is FireWire?" alt="What Is FireWire?" /> 
</map> 
<map name="SubmenuMap_2"> 
<area shape="rect" coords="715,0,816,32" href="developers/DevelopersFAQ.html" title="FAQs For Developers" alt="FAQs For Developers" /> 
<area shape="rect" coords="611,0,709,32" href="developers/WorkingGroups.html" title="Working Groups" alt="Working Groups" /> 
<area shape="rect" coords="510,0,607,32" href="developers/AssignedCodes.html" title="Assigned Codes" alt="Assigned Codes" /> 
<area shape="rect" coords="394,0,504,32" href="developers/TechBulletins.html" title="Technical Bulletins" alt="Technical Bulletins" /> 
<area shape="rect" coords="300,0,388,32" href="developers/Specifications.html" title="Specifications" alt="Specifications" /> 
<area shape="rect" coords="174,0,296,32" href="developers/ComplianceOverview.html" title="Compliance Program Overview" alt="Compliance Program Overview" /> 
<area shape="rect" coords="46,0,169,32" href="developers/ToolsForDevelopers.html" title="Tools For Developers" alt="Tools For Developers" /> 
</map> 
<map name="SubmenuMap_3"> 
<area shape="rect" coords="694,0,811,32" href="products/Industrial.html" alt="" /> 
<area shape="rect" coords="613,0,689,32" href="products/Networking.html" title="Networking" alt="Networking" /> 
<area shape="rect" coords="390,0,611,32" href="products/HomeEntertainment.html" title="Entertainment and Consumer Electronics" alt="Entertainment and Consumer Electronics" /> 
<area shape="rect" coords="241,0,385,32" href="products/ComputerProducts.html" title="Computers and Peripherals" alt="Computers and Peripherals" /> 
<area shape="rect" coords="160,0,237,32" href="products/NewProducts.html" title="New Products" alt="New Products" /> 
<area shape="rect" coords="43,0,155,32" href="products/FeaturedProducts.html" title="Featured Products" alt="Featured Products" /> 
</map> 
<map name="SubmenuMap_4"> 
<area shape="rect" coords="721,0,786,32" href="about/Contact.html" title="Contact" alt="Contact" /> 
<area shape="rect" coords="664,0,717,32" href="about/Bylaws.html" title="Bylaws" alt="Bylaws" /> 
<area shape="rect" coords="603,0,661,32" href="about/Logo.html" title="TA Logo" alt="TA Logo" /> 
<area shape="rect" coords="498,0,600,32" href="about/WorkingGroups.html" title="Working Groups" alt="Working Groups" /> 
<area shape="rect" coords="384,0,494,32" href="about/Contact.html" title="Board of Directors contact" alt="Board of Directors contact" /> 
<area shape="rect" coords="298,0,380,32" href="about/Members.html" title="Members List" alt="Members List" /> 
<area shape="rect" coords="242,0,295,32" href="about/Join.html" title="Join the 1394TA" alt="Join the 1394TA" /> 
<area shape="rect" coords="134,0,238,32" href="about/Benefits.html" title="Member Benefits" alt="Member Benefits" /> 
<area shape="rect" coords="48,0,130,32" href="about/WhatWeDo.html" title="What We Do" alt="What We Do" /> 
</map> 
<map name="SubmenuMap_5"> 
<area shape="rect" coords="806,0,871,32" href="industry/ProAudio.html" title="Pro-Audio" alt="Pro-Audio" /> 
<area shape="rect" coords="716,0,803,32" href="industry/MassStorage.html" title="Mass Storage" alt="Mass Storage" /> 
<area shape="rect" coords="624,0,712,32" href="industry/IndustrialCameras.html" title="Imaging / IIDC" alt="Imaging / IIDC" /> 
<area shape="rect" coords="494,0,619,32" href="industry/HomeEntertainment.html" title="Home Entertainment" alt="Home Entertainment" /> 
<area shape="rect" coords="418,0,491,32" href="industry/Computers.html" title="Computers" alt="Computers" /> 
<area shape="rect" coords="290,0,415,32" href="industry/Cables.html" title="cables and Connectors" alt="cables and Connectors" /> 
<area shape="rect" coords="209,0,287,32" href="industry/Automotive.html" title="Automotive" alt="Automotive" /> 
<area shape="rect" coords="81,0,205,32" href="industry/Automation.html" title="Automation / Controls" alt="Automation / Controls" /> 
<area shape="rect" coords="7,0,76,32" href="industry/Aerospace.html" title="Aerospace" alt="Aerospace" /> 
</map> 
<map name="SubmenuMap_6"> 
<area shape="rect" coords="400,0,530,32" href="events/index.html" title="Where To See FireWire" alt="Where To See FireWire" /> 
<area shape="rect" coords="164,0,390,32" href="events/CandIWorkshops.html" title="PlugFests and Compliance Workshops" alt="PlugFests and Compliance Workshops" /> 
<area shape="rect" coords="43,0,160,32" href="events/QuarterlyMeetings.html" title="Quarterly Meetings" alt="Quarterly Meetings" /> 
</map> 
<map name="SubmenuMap_7"> 
<area shape="rect" coords="611,0,700,32" href="about/Contact.html" title="Press Contact" alt="Press Contact" /> 
<area shape="rect" coords="530,0,606,32" href="press/Newsletters.html" title="Newsletters" alt="Newsletters" /> 
<area shape="rect" coords="456,0,526,32" href="press/Resources.html" title="Resources" alt="Resources" /> 
<area shape="rect" coords="368,0,451,32" href="press/WhitePapers.html" title="White Papers" alt="White Papers" /> 
<area shape="rect" coords="252,0,362,32" href="press/News.html" title="1394 In The News" alt="1394 In The News" /> 
<area shape="rect" coords="158,0,246,32" href="press/MemberPress.html" title="Member Press" alt="Member Press" /> 
<area shape="rect" coords="43,0,154,32" href="press/TAPress.html" title="TA Press Releases" alt="TA Press Releases" /> 
</map> 
<table width="880" height="94" border="0" align="center" cellpadding="0" cellspacing="0" background="images/header_bg.jpg"> 
  <tr>  
    <td width="14" height="14" background="images/header_ul.jpg">&nbsp;</td> 
    <td height="14" colspan="2">&nbsp;</td> 
    <td width="14" height="14" background="images/header_ur.jpg">&nbsp;</td> 
  </tr> 
  <tr valign="top">  
    <td width="14" height="80">&nbsp;</td> 
    <td height="80" width="618" align="left"><img src="images/1394taLOGO.png" alt="1394 Trade Association" width="191" height="68" />  
    </td> 
    <td height="80" width="234" valign="bottom">  
      <p style="margin-bottom: 10" align="right"><img src="images/textsize.png" alt="Change Text Size" width="94" height="10" usemap="#Map" border="0" vspace="8" />  
      </p> 
    </td> 
    <td width="14" height="80">&nbsp;</td> 
  </tr> 
</table> 
<table width="880" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td height="32"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HomeButton','','images/menuButtons/Button_Home_On.jpg',1)"><img name="HomeButton" border="0" src="images/menuButtons/Button_Home_On.jpg" width="32" height="32"></a></td> 
    <td><a href="consumers/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FireWireInAction','','images/menuButtons/Button_Consumers_On.jpg',1)"> 
	    <img src="images/menuButtons/Button_Consumers_Off.jpg" alt="FireWire In Action" name="FireWireInAction" width="106" height="32" border="0" id="FireWireInAction" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer1','','show')"/></a></td> 
    <td><a href="developers/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('UnderTheHood','','images/menuButtons/Button_Developers_On.jpg',1)">  
      <img src="images/menuButtons/Button_Developers_Off.jpg" alt="1394: Under The Hood" name="UnderTheHood" width="106" height="32" border="0" id="UnderTheHood" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer2','','show')"/></a></td> 
    <td><a href="products/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/menuButtons/Button_Products_On.jpg',1)">  
      <img src="images/menuButtons/Button_Products_Off.jpg" alt="Products" name="Products" width="106" height="32" border="0" id="Products" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer3','','show')"/></a></td> 
    <td><a href="about/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About','','images/menuButtons/Button_AboutTA_On.jpg',1)">  
      <img src="images/menuButtons/Button_AboutTA_Off.jpg" alt="About the TA" name="About" width="106" height="32" border="0" id="About" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer4','','show')"/></a></td> 
    <td><a href="industry/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Industry','','images/menuButtons/Button_Industry_On.jpg',1)">  
      <img src="images/menuButtons/Button_Industry_Off.jpg" alt="1394 by Industry" name="Industry" width="106" height="32" border="0" id="Industry" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer6','','hide','Layer7','','hide','Layer5','','show')"/></a></td> 
    <td><a href="events/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Events','','images/menuButtons/Button_Events_On.jpg',1)">  
      <img src="images/menuButtons/Button_Events_Off.jpg" alt="Events" name="Events" width="106" height="32" border="0" id="Events" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer7','','hide','Layer6','','show')"/></a></td> 
    <td><a href="press/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Press','','images/menuButtons/Button_Press_On.jpg',1)">  
      <img src="images/menuButtons/Button_Press_Off.jpg" alt="Press" name="Press" width="106" height="32" border="0" id="Press" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','show')"/></a></td> 
    <td><a href="members/members.asp"><img src="images/menuButtons/Button_Login_Off.jpg" border="0" /></a></td> 
  </tr> 
  <tr background="images/backgrounds/BG_Submenu.jpg">  
    <td height="32" background="images/backgrounds/BG_Submenu.jpg">&nbsp;</td> 
    <td colspan="8" background="images/backgrounds/BG_Submenu.jpg"> <!-- img src="images/submenuButtons/SubmenuEmpty.jpg" width="880" height="32" / --></td> 
      <!-- a href="consumers/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('FireWireInAction','','images/menuButtons/Button_Consumers_On.jpg',1)"><img src="images/submenuButtons/SubmenuEmpty.png" width="880" height="32" border="0" alt="Empty Menu" ></a --> 
  </tr> 
  <tr background="images/backgrounds/BG_Submenu.jpg">  
    <td height="126" colspan="9" background="images/backgrounds/BG_JumpZone.jpg">  
 	<table width="880" border="0" align="center" cellpadding="0" cellspacing="0"> 
	<tr > 
    	<td width="586" background="images/backgrounds/BG_JumpZone_LH.jpg"><script type="text/javascript"> 
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','586','height','126','title','GenericHeader2','src','images/backgrounds/GenericHeader2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/backgrounds/GenericHeader2' ); //end AC code 
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="586" height="126" title="1394 Trade Association"> 
          <param name="movie" value="images/backgrounds/GenericHeader2.swf" /> 
          <param name="quality" value="high" /> 
          <embed src="images/backgrounds/GenericHeader2.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="586" height="126"></embed> 
  	  </object></noscript></td> 
        <td width="294" background="images/backgrounds/BG_JumpZone_RH.jpg"> 
      <p class="style5" style="margin-bottom:0"><a href="about/Join.html"><font color="#FFFFFF">I'd Like To Join The 1394 Trade Association</font></a> </p> 
		<p class="style5" style="margin-bottom:0; margin-top:0"><a href="about/announcementsignup.html"><font color="#FFFFFF">I'd Like To Be Added To The Mailing List</font></a> </p> 
        <p class="style5" style="margin-bottom:0; margin-top:0"><a href="about/ProductPromotion.html"><font color="#FFFFFF">I'd Like To Promote My Company&rsquo;s Products</font></a> </p> 
        <p class="style5" style="margin-bottom:0; margin-top:0"><a href="events/QuarterlyMeetings.html"><font color="#FFFFFF">I'd Like  To Participate in a Quarterly Meeting</font></a> </p>        </td> 
    </tr> 
    </table> 
    </td> 
  </tr> 
<div id="submenu"> 
<div id="Layer8" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible; border: 0; padding: 0 "> 
   <img src="images/submenuButtons/SubmenuEmpty.jpg" width="880" height="32" border="0"></div>  
<div id="Layer7" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_press.png" width="880" height="32" usemap="#SubmenuMap_7" border="0"></div>  
<div id="Layer6" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_events.png" width="880" height="32" usemap="#SubmenuMap_6" border="0"></div>  
<div id="Layer5" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_industry.png" width="880" height="32" usemap="#SubmenuMap_5" border="0"></div>  
<div id="Layer4" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_abouttheta.png" width="880" height="32" usemap="#SubmenuMap_4" border="0"></div>  
<div id="Layer3" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_products.png" width="880" height="32" usemap="#SubmenuMap_3" border="0"></div>  
<div id="Layer2" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_developers.png" width="880" height="32" usemap="#SubmenuMap_2" border="0"></div>  
<div id="Layer1" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 "> 
   <img src="images/submenuButtons/Submenu_consumers.png" width="880" height="32" usemap="#SubmenuMap_1" border="0"></div>  
<div id="Layer0" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 "> 
   <img src="images/submenuButtons/SubmenuEmpty.jpg" width="880" height="32" border="0"></div>  
</div> 
</table> 
<table width="880" border="0" cellspacing="0" cellpadding="0" align="center" background="images/backgrounds/BG_Table.png"> 
  <tr> 
    <td width="30" height="5" background="images/backgrounds/BG_FirewireInActionTop.png"></td> 
    <td width="258" height="5" background="images/backgrounds/BG_FirewireInActionTop.png"></td> 
    <td width="3" height="5"></td> 
    <td width="30" height="5" background="images/backgrounds/BG_DevInsideTop.png"></td> 
    <td width="258" height="5" background="images/backgrounds/BG_DevInsideTop.png"></td> 
    <td width="3" height="5"></td> 
    <td width="30" height="5" background="images/backgrounds/BG_EventsInsideTop.png"></td> 
    <td width="258" height="5" background="images/backgrounds/BG_EventsInsideTop.png"></td> 
    <td width="10" height="5"></td> 
  </tr> 
  <tr> 
    <td width="30" bgcolor="#cc0000" valign="top"><a href="consumers/index.html"><img src="images/backgrounds/BG_FirewireInActionInsideL.png"  border="0" /></a></td> 
    <td width="258" valign="top"> 
      <h2>INFORMATION FOR USERS &amp; CONSUMERS </h2> 
      <p align="center"><span class="style8" style="margin-bottom: 0"><a href="business/WebVisitorSurvey.html" target="_blank"><img src="images/HomePage/websurvey_banner.gif" alt="Survey" width="218" height="78" border="0" /></a></span></p> 
      <p class="style8" style="margin-bottom: 0">SIMS Corp offers new drivers<a href="http://www2.gibson.com/Products/Electric-Guitars/Les-Paul/Gibson-USA/DarkFire/Overview.aspx" target="_blank"></a></p> 
      <p class="style9" style="margin-top: 0" >SIMS Corp is pleased to announce the release of the new INFRASONIC <a href="http://infra-sonic.com/site/p_FireWire_deux.php" target="_blank">DeuX</a> driver   v2.0, featuring an improved Control Panel with a visually stunning Graphical   User Interface, combined with state of the art FREE MIXER technology.&nbsp;<a href="http://infra-sonic.com/site/support_Drivers.php?platform=win&amp;driverstabs=2" target="_blank">Get the Updated Drivers</a>.</p> 
.
.
.
.

output:

1394 Trade Association 
 
<!-- 
body { 
	background-color: #33332D; 
} 
body,td,th { 
	color: #33332D; 
	font-family: Verdana; 
	font-size: 11px; 
} 
a:link {  
color: #000000; 
text-decoration: underline;   
}  
a:visited {  
color: #354a59;  
text-decoration: underline;  
}  
a:active {  
color: black;  
text-decoration: underline;  
}  
a:hover {  
color: #354a59;  
text-decoration: underline;  
} 
h1 { 
	font-size: 11px; 
	color: #A7A977; 
} 
h2 { 
	font-size: 12px; 
	color: #808059; 
	font-family: Verdana; 
	font-weight: bold; 
	margin-left: 20px; 
	margin-top: 15px; 
} 
.style5 { 
	color: #e0e0ca; 
	font-size: 9px; 
	font-weight: bold; 
	margin-left: 20px; 
} 
.style8 { 
	color: #000000; 
	font-weight: bold; 
	font-size: 10px; 
	margin-left: 20px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
.style9 { 
	color: #000000; 
	margin-left: 30px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
div#submenu {  
margin:0 auto;  
width: 880px; 
} 
.style10 { 
	color: #FFFFFF; 
	font-size: 9px; 
} 
.style11 { 
	font-weight: bold; 
	font-size: 10px; 
} 
--> 
 
 
<!-- 
function MM_swapImgRestore() { //v3.0 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 
} 
 
function MM_preloadImages() { //v3.0 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 
} 
 
function MM_findObj(n, d) { //v4.01 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 
  if(!x && d.getElementById) x=d.getElementById(n); return x; 
} 
 
function MM_swapImage() { //v3.0 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 
} 
 
function MM_showHideLayers() { //v3.0  
var i,p,v,obj,args=MM_showHideLayers.arguments;  
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];  
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }  
obj.visibility=v; }  
} 
function changeFontSize(inc){   
var p = document.getElementsByTagName('p');   
for(n=0; n<p.length; n++) {     
if(p[n].style.fontSize) {        
var size = parseInt(p[n].style.fontSize.replace("px", ""));     
} else {        
var size = 12;    }    p[n].style.fontSize = size+inc + 'px';   }} 
//--> 
 
 
 
 
<!-- 
.style12 {color: #FFFFFF} 
--> 
    ; 
    	 
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','586','height','126','title','GenericHeader2','src','images/backgrounds/GenericHeader2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/backgrounds/GenericHeader2' ); //end AC code 
      I'd Like To Join The 1394 Trade Association  
		I'd Like To Be Added To The Mailing List  
        I'd Like To Promote My Company&rsquo;s Products  
        I'd Like  To Participate in a Quarterly Meeting          
      INFORMATION FOR USERS &amp; CONSUMERS  
       
      SIMS Corp offers new drivers 
      SIMS Corp is pleased to announce the release of the new INFRASONIC DeuX driver   v2.0, featuring an improved Control Panel with a visually stunning Graphical   User Interface, combined with state of the art FREE MIXER technology.;Get the Updated Drivers. 
      Latest Questions: 
      How many hard drives can be daisy chained together using FireWire 800? Answer 
      How do I file a complaint with the FCC if the 1394 port on my cable box is not working? 
      Answer 
     
     
     
      TECHNOLOGY IN DEPTH FOR DEVELOPERS &amp; MANUFACTURERS  
Focus on Automotive Applications 
       
        Automotive Document Package now available 
        Important Products 
        Why 1394 Works for Automotive 
        The AMI-C documents are now available in the specifications area 
       
      ; 
      Tips for Developers - PRESENTATIONS 
      1394 Automotive Technical Seminar Presentations (April 2009) 
       
         
         
          Question of the Month 
              What Trade Shows will your company be attending in 2010?  
                               
             
         
            NOW AVAILABLE! 
              FireWire Design Guide 2010 
              This document provides guidelines for implementing FireWire (IEEE 1394) ports on   both  complex   and simple devices   . The guide includes references   to normative specifications as well as full reference designs . 
              DOWNLOAD (3 Mb PDF)           
         
   
 
       
      Latest Papers  
       FireWire Design Guide (3 Mb PDF) 
      Latest Specifications  
     HANA Specifications Adopted by the 1394 Trade Association: Now Available 
      Latest White Papers    
     FireWire Security Imaging, by Burke Henehan 
     ;     
     
     
     
      ANNOUNCEMENTS, NEWS &amp; INDUSTRY EVENTS  
      16,000 MacBook  Users to Apple: &quot;I want my FireWire&quot; 
 
      Latest TA News 
        1394 Trade Association Publishes New Technical Papers about FireWire?s Use in Security Camera Designs and Industrial Monitoring Applications  
      White Paper: Of Windmills and Recording Studios 
      Member Press 
       DapTechnology Fires Up World?s First 3.2 Gigabit IEEE 1394b FireWire SOC Solution 
      Technology Backgrounder Available from Fujitsu: How the 1394 Automotive Network Simplifies Infotainment Delivery 
      1394 in the News 
       ULAN and 1394 Trade Association introduce home network   device Artery 
     

     
      PRODUCT GUIDE  
      
     Hasselblad CFV-39 Digital 
       Camera Back 
     Automotive 
      An up-to-date list of products available for auto manufacturers and entertainment network installers. 
      Computers &amp; Peripherals 
      Thanks Apple! - June 08 2009 - Apple Announces the New 13-inch Macbook Pro, with FireWire 800 
      Home Entertainment &amp; Consumer  
        Electronics 
      You're going to have to break down for an HD  
        TV sooner or later. Learn whose sets will provide you with the greatest  
        number of connectivity options, and why  
        you'll want FireWire in your Home Theater. 
    ;  
     
     
     
      INFORMATION ABOUT MEETINGS, ACTIVITIES &amp; MEMBERSHIP  
       
       
       
      Read more about HANA and the  
      1394 Trade Association 
      ; 
            Join Now!  
      We think what we're doing  
        here at the Trade Association is pretty central to the activities of  
        any company using FireWire in their products.  
        <!-- But don't take our word  
        for it... Read what our members have  
        to say about us. --> Give us a call if  
        you have questions or comments - we'd love to hear from you! 
    ; 
     
     
     
      1394 BEYOND THE COMPUTER   
      1394 in... 
       Aerospace 
      Automation and Controls 
       Automotive  
      Cables &amp; Connectors  
      Computers 
      Home Entertainment  
         
      Imaging/IIDC  
         
      Mass Storage  
      Pro Audio   
    ; 
     
       
        1394TA HOME | SITEMAP | SEARCH | PRIVACY &amp; SECURITY | CONTACT | FEEDBACK 
       &copy; Copyright 2008 1394 Trade Association -  
        All Rights Reserved 
        Use of this website signifies your agreement to the Terms of Use 
        For questions or comments, please contact the 1394TA Webmaster 
      ;

input:

"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
<meta name="verify-v1" content="zTukAViBDsrRH6qg5loH1oV2POjYyhTNi6ERWbzs0AI=" /> 
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> 
<title>1394 Trade Association</title> 
<style type="text/css"> 
<!-- 
body { 
	background-color: #33332D; 
} 
body,td,th { 
	color: #33332D; 
	font-family: Verdana; 
	font-size: 11px; 
} 
a:link {  
color: #000000; 
text-decoration: underline;   
}  
a:visited {  
color: #354a59;  
text-decoration: underline;  
}  
a:active {  
color: black;  
text-decoration: underline;  
}  
a:hover {  
color: #354a59;  
text-decoration: underline;  
} 
h1 { 
	font-size: 11px; 
	color: #A7A977; 
} 
h2 { 
	font-size: 12px; 
	color: #808059; 
	font-family: Verdana; 
	font-weight: bold; 
	margin-left: 20px; 
	margin-top: 15px; 
} 
.style5 { 
	color: #e0e0ca; 
	font-size: 9px; 
	font-weight: bold; 
	margin-left: 20px; 
} 
.style8 { 
	color: #000000; 
	font-weight: bold; 
	font-size: 10px; 
	margin-left: 20px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
.style9 { 
	color: #000000; 
	margin-left: 30px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
div#submenu {  
margin:0 auto;  
width: 880px; 
} 
.style10 { 
	color: #FFFFFF; 
	font-size: 9px; 
} 
.style11 { 
	font-weight: bold; 
	font-size: 10px; 
} 
--> 
</style> 
<script type="text/JavaScript"> 
<!-- 
function MM_swapImgRestore() { //v3.0 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 
} 
 
function MM_preloadImages() { //v3.0 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 
} 
 
function MM_findObj(n, d) { //v4.01 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 
  if(!x && d.getElementById) x=d.getElementById(n); return x; 
} 
 
function MM_swapImage() { //v3.0 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 
} 
 
function MM_showHideLayers() { //v3.0  
var i,p,v,obj,args=MM_showHideLayers.arguments;  
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];  
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }  
obj.visibility=v; }  
} 
function changeFontSize(inc){   
var p = document.getElementsByTagName('p');   
for(n=0; n<p.length; n++) {     
if(p[n].style.fontSize) {        
var size = parseInt(p[n].style.fontSize.replace("px", ""));     
} else {        
var size = 12;    }    p[n].style.fontSize = size+inc + 'px';   }} 
//--> 
</script> 
<link rel="shortcut icon" href="favicon.ico" > 
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script> 
<style type="text/css"> 
<!-- 
.style12 {color: #FFFFFF} 
--> 
</style> 
</head> 
<body onload="MM_preloadImages('images/menuButtons/Button_Consumers_On.jpg','images/menuButtons/Submenu_Consumers.png','images/menuButtons/Button_Home_On.jpg')" leftmargin="0" topmargin="8"> 
<map name="SubmenuMap_1"> 
<area shape="rect" coords="538,0,669,32" href="consumers/Resources.html" title="Additional Resources" alt="Additional Resources" /> 
<area shape="rect" coords="416,0,534,32" href="consumers/ShareYourSolution.html" title="Share Your Solutions" alt="Share Your Solutions" /> 
<area shape="rect" coords="317,0,411,32" href="consumers/AskAQuestion.html" title="Ask A Question" alt="Ask A Question" /> 
<area shape="rect" coords="247,0,312,32" href="consumers/HowTo/index.html" title="How Tos" alt="How Tos" /> 
<area shape="rect" coords="159,0,242,32" href="consumers/FAQ.html" title="Facts and FAQs" alt="Facts and FAQs" /> 
<area shape="rect" coords="45,0,155,32" href="consumers/WhatIsFireWire.html" title="What Is FireWire?" alt="What Is FireWire?" /> 
</map> 
<map name="SubmenuMap_2"> 
<area shape="rect" coords="715,0,816,32" href="developers/DevelopersFAQ.html" title="FAQs For Developers" alt="FAQs For Developers" /> 
<area shape="rect" coords="611,0,709,32" href="developers/WorkingGroups.html" title="Working Groups" alt="Working Groups" /> 
<area shape="rect" coords="510,0,607,32" href="developers/AssignedCodes.html" title="Assigned Codes" alt="Assigned Codes" /> 
<area shape="rect" coords="394,0,504,32" href="developers/TechBulletins.html" title="Technical Bulletins" alt="Technical Bulletins" /> 
<area shape="rect" coords="300,0,388,32" href="developers/Specifications.html" title="Specifications" alt="Specifications" /> 
<area shape="rect" coords="174,0,296,32" href="developers/ComplianceOverview.html" title="Compliance Program Overview" alt="Compliance Program Overview" /> 
<area shape="rect" coords="46,0,169,32" href="developers/ToolsForDevelopers.html" title="Tools For Developers" alt="Tools For Developers" /> 
</map> 
<map name="SubmenuMap_3"> 
<area shape="rect" coords="694,0,811,32" href="products/Industrial.html" alt="" /> 
<area shape="rect" coords="613,0,689,32" href="products/Networking.html" title="Networking" alt="Networking" /> 
<area shape="rect" coords="390,0,611,32" href="products/HomeEntertainment.html" title="Entertainment and Consumer Electronics" alt="Entertainment and Consumer Electronics" /> 
<area shape="rect" coords="241,0,385,32" href="products/ComputerProducts.html" title="Computers and Peripherals" alt="Computers and Peripherals" /> 
<area shape="rect" coords="160,0,237,32" href="products/NewProducts.html" title="New Products" alt="New Products" /> 
<area shape="rect" coords="43,0,155,32" href="products/FeaturedProducts.html" title="Featured Products" alt="Featured Products" /> 
</map> 
<map name="SubmenuMap_4"> 
<area shape="rect" coords="721,0,786,32" href="about/Contact.html" title="Contact" alt="Contact" /> 
<area shape="rect" coords="664,0,717,32" href="about/Bylaws.html" title="Bylaws" alt="Bylaws" /> 
<area shape="rect" coords="603,0,661,32" href="about/Logo.html" title="TA Logo" alt="TA Logo" /> 
<area shape="rect" coords="498,0,600,32" href="about/WorkingGroups.html" title="Working Groups" alt="Working Groups" /> 
<area shape="rect" coords="384,0,494,32" href="about/Contact.html" title="Board of Directors contact" alt="Board of Directors contact" /> 
<area shape="rect" coords="298,0,380,32" href="about/Members.html" title="Members List" alt="Members List" /> 
<area shape="rect" coords="242,0,295,32" href="about/Join.html" title="Join the 1394TA" alt="Join the 1394TA" /> 
<area shape="rect" coords="134,0,238,32" href="about/Benefits.html" title="Member Benefits" alt="Member Benefits" /> 
<area shape="rect" coords="48,0,130,32" href="about/WhatWeDo.html" title="What We Do" alt="What We Do" /> 
</map> 
<map name="SubmenuMap_5"> 
<area shape="rect" coords="806,0,871,32" href="industry/ProAudio.html" title="Pro-Audio" alt="Pro-Audio" /> 
<area shape="rect" coords="716,0,803,32" href="industry/MassStorage.html" title="Mass Storage" alt="Mass Storage" /> 
<area shape="rect" coords="624,0,712,32" href="industry/IndustrialCameras.html" title="Imaging / IIDC" alt="Imaging / IIDC" /> 
<area shape="rect" coords="494,0,619,32" href="industry/HomeEntertainment.html" title="Home Entertainment" alt="Home Entertainment" /> 
<area shape="rect" coords="418,0,491,32" href="industry/Computers.html" title="Computers" alt="Computers" /> 
<area shape="rect" coords="290,0,415,32" href="industry/Cables.html" title="cables and Connectors" alt="cables and Connectors" /> 
<area shape="rect" coords="209,0,287,32" href="industry/Automotive.html" title="Automotive" alt="Automotive" /> 
<area shape="rect" coords="81,0,205,32" href="industry/Automation.html" title="Automation / Controls" alt="Automation / Controls" /> 
<area shape="rect" coords="7,0,76,32" href="industry/Aerospace.html" title="Aerospace" alt="Aerospace" /> 
</map> 
<map name="SubmenuMap_6"> 
<area shape="rect" coords="400,0,530,32" href="events/index.html" title="Where To See FireWire" alt="Where To See FireWire" /> 
<area shape="rect" coords="164,0,390,32" href="events/CandIWorkshops.html" title="PlugFests and Compliance Workshops" alt="PlugFests and Compliance Workshops" /> 
<area shape="rect" coords="43,0,160,32" href="events/QuarterlyMeetings.html" title="Quarterly Meetings" alt="Quarterly Meetings" /> 
</map> 
<map name="SubmenuMap_7"> 
<area shape="rect" coords="611,0,700,32" href="about/Contact.html" title="Press Contact" alt="Press Contact" /> 
<area shape="rect" coords="530,0,606,32" href="press/Newsletters.html" title="Newsletters" alt="Newsletters" /> 
<area shape="rect" coords="456,0,526,32" href="press/Resources.html" title="Resources" alt="Resources" /> 
<area shape="rect" coords="368,0,451,32" href="press/WhitePapers.html" title="White Papers" alt="White Papers" /> 
<area shape="rect" coords="252,0,362,32" href="press/News.html" title="1394 In The News" alt="1394 In The News" /> 
<area shape="rect" coords="158,0,246,32" href="press/MemberPress.html" title="Member Press" alt="Member Press" /> 
<area shape="rect" coords="43,0,154,32" href="press/TAPress.html" title="TA Press Releases" alt="TA Press Releases" /> 
</map> 
<table width="880" height="94" border="0" align="center" cellpadding="0" cellspacing="0" background="images/header_bg.jpg"> 
  <tr>  
    <td width="14" height="14" background="images/header_ul.jpg">&nbsp;</td> 
    <td height="14" colspan="2">&nbsp;</td> 
    <td width="14" height="14" background="images/header_ur.jpg">&nbsp;</td> 
  </tr> 
  <tr valign="top">  
    <td width="14" height="80">&nbsp;</td> 
    <td height="80" width="618" align="left"><img src="images/1394taLOGO.png" alt="1394 Trade Association" width="191" height="68" />  
    </td> 
    <td height="80" width="234" valign="bottom">  
      <p style="margin-bottom: 10" align="right"><img src="images/textsize.png" alt="Change Text Size" width="94" height="10" usemap="#Map" border="0" vspace="8" />  
      </p> 
    </td> 
    <td width="14" height="80">&nbsp;</td> 
  </tr> 
</table> 
<table width="880" border="0" align="center" cellpadding="0" cellspacing="0"> 
  <tr> 
    <td height="32"><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('HomeButton','','images/menuButtons/Button_Home_On.jpg',1)"><img name="HomeButton" border="0" src="images/menuButtons/Button_Home_On.jpg" width="32" height="32"></a></td> 
    <td><a href="consumers/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('FireWireInAction','','images/menuButtons/Button_Consumers_On.jpg',1)"> 
	    <img src="images/menuButtons/Button_Consumers_Off.jpg" alt="FireWire In Action" name="FireWireInAction" width="106" height="32" border="0" id="FireWireInAction" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer1','','show')"/></a></td> 
    <td><a href="developers/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('UnderTheHood','','images/menuButtons/Button_Developers_On.jpg',1)">  
      <img src="images/menuButtons/Button_Developers_Off.jpg" alt="1394: Under The Hood" name="UnderTheHood" width="106" height="32" border="0" id="UnderTheHood" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer2','','show')"/></a></td> 
    <td><a href="products/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Products','','images/menuButtons/Button_Products_On.jpg',1)">  
      <img src="images/menuButtons/Button_Products_Off.jpg" alt="Products" name="Products" width="106" height="32" border="0" id="Products" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer3','','show')"/></a></td> 
    <td><a href="about/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('About','','images/menuButtons/Button_AboutTA_On.jpg',1)">  
      <img src="images/menuButtons/Button_AboutTA_Off.jpg" alt="About the TA" name="About" width="106" height="32" border="0" id="About" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer5','','hide','Layer6','','hide','Layer7','','hide','Layer4','','show')"/></a></td> 
    <td><a href="industry/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Industry','','images/menuButtons/Button_Industry_On.jpg',1)">  
      <img src="images/menuButtons/Button_Industry_Off.jpg" alt="1394 by Industry" name="Industry" width="106" height="32" border="0" id="Industry" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer6','','hide','Layer7','','hide','Layer5','','show')"/></a></td> 
    <td><a href="events/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Events','','images/menuButtons/Button_Events_On.jpg',1)">  
      <img src="images/menuButtons/Button_Events_Off.jpg" alt="Events" name="Events" width="106" height="32" border="0" id="Events" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer7','','hide','Layer6','','show')"/></a></td> 
    <td><a href="press/index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Press','','images/menuButtons/Button_Press_On.jpg',1)">  
      <img src="images/menuButtons/Button_Press_Off.jpg" alt="Press" name="Press" width="106" height="32" border="0" id="Press" onMouseOver="MM_showHideLayers('Layer0','','hide','Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide','Layer6','','hide','Layer7','','show')"/></a></td> 
    <td><a href="members/members.asp"><img src="images/menuButtons/Button_Login_Off.jpg" border="0" /></a></td> 
  </tr> 
  <tr background="images/backgrounds/BG_Submenu.jpg">  
    <td height="32" background="images/backgrounds/BG_Submenu.jpg">&nbsp;</td> 
    <td colspan="8" background="images/backgrounds/BG_Submenu.jpg"> <!-- img src="images/submenuButtons/SubmenuEmpty.jpg" width="880" height="32" / --></td> 
      <!-- a href="consumers/index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('FireWireInAction','','images/menuButtons/Button_Consumers_On.jpg',1)"><img src="images/submenuButtons/SubmenuEmpty.png" width="880" height="32" border="0" alt="Empty Menu" ></a --> 
  </tr> 
  <tr background="images/backgrounds/BG_Submenu.jpg">  
    <td height="126" colspan="9" background="images/backgrounds/BG_JumpZone.jpg">  
 	<table width="880" border="0" align="center" cellpadding="0" cellspacing="0"> 
	<tr > 
    	<td width="586" background="images/backgrounds/BG_JumpZone_LH.jpg"><script type="text/javascript"> 
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','586','height','126','title','GenericHeader2','src','images/backgrounds/GenericHeader2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/backgrounds/GenericHeader2' ); //end AC code 
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="586" height="126" title="1394 Trade Association"> 
          <param name="movie" value="images/backgrounds/GenericHeader2.swf" /> 
          <param name="quality" value="high" /> 
          <embed src="images/backgrounds/GenericHeader2.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="586" height="126"></embed> 
  	  </object></noscript></td> 
        <td width="294" background="images/backgrounds/BG_JumpZone_RH.jpg"> 
      <p class="style5" style="margin-bottom:0"><a href="about/Join.html"><font color="#FFFFFF">I'd Like To Join The 1394 Trade Association</font></a> </p> 
		<p class="style5" style="margin-bottom:0; margin-top:0"><a href="about/announcementsignup.html"><font color="#FFFFFF">I'd Like To Be Added To The Mailing List</font></a> </p> 
        <p class="style5" style="margin-bottom:0; margin-top:0"><a href="about/ProductPromotion.html"><font color="#FFFFFF">I'd Like To Promote My Company&rsquo;s Products</font></a> </p> 
        <p class="style5" style="margin-bottom:0; margin-top:0"><a href="events/QuarterlyMeetings.html"><font color="#FFFFFF">I'd Like  To Participate in a Quarterly Meeting</font></a> </p>        </td> 
    </tr> 
    </table> 
    </td> 
  </tr> 
<div id="submenu"> 
<div id="Layer8" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible; border: 0; padding: 0 "> 
   <img src="images/submenuButtons/SubmenuEmpty.jpg" width="880" height="32" border="0"></div>  
<div id="Layer7" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_press.png" width="880" height="32" usemap="#SubmenuMap_7" border="0"></div>  
<div id="Layer6" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_events.png" width="880" height="32" usemap="#SubmenuMap_6" border="0"></div>  
<div id="Layer5" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_industry.png" width="880" height="32" usemap="#SubmenuMap_5" border="0"></div>  
<div id="Layer4" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_abouttheta.png" width="880" height="32" usemap="#SubmenuMap_4" border="0"></div>  
<div id="Layer3" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_products.png" width="880" height="32" usemap="#SubmenuMap_3" border="0"></div>  
<div id="Layer2" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 ">  
   <img src="images/submenuButtons/Submenu_developers.png" width="880" height="32" usemap="#SubmenuMap_2" border="0"></div>  
<div id="Layer1" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 "> 
   <img src="images/submenuButtons/Submenu_consumers.png" width="880" height="32" usemap="#SubmenuMap_1" border="0"></div>  
<div id="Layer0" align="center" style="position:absolute; top:133px; width:880px; height:32px; z-index:1; visibility: visible border: 0; padding: 0 "> 
   <img src="images/submenuButtons/SubmenuEmpty.jpg" width="880" height="32" border="0"></div>  
</div> 
</table> 
<table width="880" border="0" cellspacing="0" cellpadding="0" align="center" background="images/backgrounds/BG_Table.png"> 
  <tr> 
    <td width="30" height="5" background="images/backgrounds/BG_FirewireInActionTop.png"></td> 
    <td width="258" height="5" background="images/backgrounds/BG_FirewireInActionTop.png"></td> 
    <td width="3" height="5"></td> 
    <td width="30" height="5" background="images/backgrounds/BG_DevInsideTop.png"></td> 
    <td width="258" height="5" background="images/backgrounds/BG_DevInsideTop.png"></td> 
    <td width="3" height="5"></td> 
    <td width="30" height="5" background="images/backgrounds/BG_EventsInsideTop.png"></td> 
    <td width="258" height="5" background="images/backgrounds/BG_EventsInsideTop.png"></td> 
    <td width="10" height="5"></td> 
  </tr> 
  <tr> 
    <td width="30" bgcolor="#cc0000" valign="top"><a href="consumers/index.html"><img src="images/backgrounds/BG_FirewireInActionInsideL.png"  border="0" /></a></td> 
    <td width="258" valign="top"> 
      <h2>INFORMATION FOR USERS &amp; CONSUMERS </h2> 
      <p align="center"><span class="style8" style="margin-bottom: 0"><a href="business/WebVisitorSurvey.html" target="_blank"><img src="images/HomePage/websurvey_banner.gif" alt="Survey" width="218" height="78" border="0" /></a></span></p> 
      <p class="style8" style="margin-bottom: 0">SIMS Corp offers new drivers<a href="http://www2.gibson.com/Products/Electric-Guitars/Les-Paul/Gibson-USA/DarkFire/Overview.aspx" target="_blank"></a></p> 
      <p class="style9" style="margin-top: 0" >SIMS Corp is pleased to announce the release of the new INFRASONIC <a href="http://infra-sonic.com/site/p_FireWire_deux.php" target="_blank">DeuX</a> driver   v2.0, featuring an improved Control Panel with a visually stunning Graphical   User Interface, combined with state of the art FREE MIXER technology.&nbsp;<a href="http://infra-sonic.com/site/support_Drivers.php?platform=win&amp;driverstabs=2" target="_blank">Get the Updated Drivers</a>.</p> 
.
.
.
.

output:

1394 Trade Association 
 
<!-- 
body { 
	background-color: #33332D; 
} 
body,td,th { 
	color: #33332D; 
	font-family: Verdana; 
	font-size: 11px; 
} 
a:link {  
color: #000000; 
text-decoration: underline;   
}  
a:visited {  
color: #354a59;  
text-decoration: underline;  
}  
a:active {  
color: black;  
text-decoration: underline;  
}  
a:hover {  
color: #354a59;  
text-decoration: underline;  
} 
h1 { 
	font-size: 11px; 
	color: #A7A977; 
} 
h2 { 
	font-size: 12px; 
	color: #808059; 
	font-family: Verdana; 
	font-weight: bold; 
	margin-left: 20px; 
	margin-top: 15px; 
} 
.style5 { 
	color: #e0e0ca; 
	font-size: 9px; 
	font-weight: bold; 
	margin-left: 20px; 
} 
.style8 { 
	color: #000000; 
	font-weight: bold; 
	font-size: 10px; 
	margin-left: 20px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
.style9 { 
	color: #000000; 
	margin-left: 30px; 
	margin-right: 10px; 
	margin-top: 0px; 
} 
div#submenu {  
margin:0 auto;  
width: 880px; 
} 
.style10 { 
	color: #FFFFFF; 
	font-size: 9px; 
} 
.style11 { 
	font-weight: bold; 
	font-size: 10px; 
} 
--> 
 
 
<!-- 
function MM_swapImgRestore() { //v3.0 
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; 
} 
 
function MM_preloadImages() { //v3.0 
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); 
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) 
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} 
} 
 
function MM_findObj(n, d) { //v4.01 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); 
  if(!x && d.getElementById) x=d.getElementById(n); return x; 
} 
 
function MM_swapImage() { //v3.0 
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) 
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} 
} 
 
function MM_showHideLayers() { //v3.0  
var i,p,v,obj,args=MM_showHideLayers.arguments;  
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];  
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }  
obj.visibility=v; }  
} 
function changeFontSize(inc){   
var p = document.getElementsByTagName('p');   
for(n=0; n<p.length; n++) {     
if(p[n].style.fontSize) {        
var size = parseInt(p[n].style.fontSize.replace("px", ""));     
} else {        
var size = 12;    }    p[n].style.fontSize = size+inc + 'px';   }} 
//--> 
 
 
 
 
<!-- 
.style12 {color: #FFFFFF} 
--> 
    ; 
    	 
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','586','height','126','title','GenericHeader2','src','images/backgrounds/GenericHeader2','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','images/backgrounds/GenericHeader2' ); //end AC code 
      I'd Like To Join The 1394 Trade Association  
		I'd Like To Be Added To The Mailing List  
        I'd Like To Promote My Company&rsquo;s Products  
        I'd Like  To Participate in a Quarterly Meeting          
      INFORMATION FOR USERS &amp; CONSUMERS  
       
      SIMS Corp offers new drivers 
      SIMS Corp is pleased to announce the release of the new INFRASONIC DeuX driver   v2.0, featuring an improved Control Panel with a visually stunning Graphical   User Interface, combined with state of the art FREE MIXER technology.;Get the Updated Drivers. 
      Latest Questions: 
      How many hard drives can be daisy chained together using FireWire 800? Answer 
      How do I file a complaint with the FCC if the 1394 port on my cable box is not working? 
      Answer 
     
     
     
      TECHNOLOGY IN DEPTH FOR DEVELOPERS &amp; MANUFACTURERS  
Focus on Automotive Applications 
       
        Automotive Document Package now available 
        Important Products 
        Why 1394 Works for Automotive 
        The AMI-C documents are now available in the specifications area 
       
      ; 
      Tips for Developers - PRESENTATIONS 
      1394 Automotive Technical Seminar Presentations (April 2009) 
       
         
         
          Question of the Month 
              What Trade Shows will your company be attending in 2010?  
                               
             
         
            NOW AVAILABLE! 
              FireWire Design Guide 2010 
              This document provides guidelines for implementing FireWire (IEEE 1394) ports on   both  complex   and simple devices   . The guide includes references   to normative specifications as well as full reference designs . 
              DOWNLOAD (3 Mb PDF)           
         
   
 
       
      Latest Papers  
       FireWire Design Guide (3 Mb PDF) 
      Latest Specifications  
     HANA Specifications Adopted by the 1394 Trade Association: Now Available 
      Latest White Papers    
     FireWire Security Imaging, by Burke Henehan 
     ;     
     
     
     
      ANNOUNCEMENTS, NEWS &amp; INDUSTRY EVENTS  
      16,000 MacBook  Users to Apple: &quot;I want my FireWire&quot; 
 
      Latest TA News 
        1394 Trade Association Publishes New Technical Papers about FireWire?s Use in Security Camera Designs and Industrial Monitoring Applications  
      White Paper: Of Windmills and Recording Studios 
      Member Press 
       DapTechnology Fires Up World?s First 3.2 Gigabit IEEE 1394b FireWire SOC Solution 
      Technology Backgrounder Available from Fujitsu: How the 1394 Automotive Network Simplifies Infotainment Delivery 
      1394 in the News 
       ULAN and 1394 Trade Association introduce home network   device Artery 
     

     
      PRODUCT GUIDE  
      
     Hasselblad CFV-39 Digital 
       Camera Back 
     Automotive 
      An up-to-date list of products available for auto manufacturers and entertainment network installers. 
      Computers &amp; Peripherals 
      Thanks Apple! - June 08 2009 - Apple Announces the New 13-inch Macbook Pro, with FireWire 800 
      Home Entertainment &amp; Consumer  
        Electronics 
      You're going to have to break down for an HD  
        TV sooner or later. Learn whose sets will provide you with the greatest  
        number of connectivity options, and why  
        you'll want FireWire in your Home Theater. 
    ;  
     
     
     
      INFORMATION ABOUT MEETINGS, ACTIVITIES &amp; MEMBERSHIP  
       
       
       
      Read more about HANA and the  
      1394 Trade Association 
      ; 
            Join Now!  
      We think what we're doing  
        here at the Trade Association is pretty central to the activities of  
        any company using FireWire in their products.  
        <!-- But don't take our word  
        for it... Read what our members have  
        to say about us. --> Give us a call if  
        you have questions or comments - we'd love to hear from you! 
    ; 
     
     
     
      1394 BEYOND THE COMPUTER   
      1394 in... 
       Aerospace 
      Automation and Controls 
       Automotive  
      Cables &amp; Connectors  
      Computers 
      Home Entertainment  
         
      Imaging/IIDC  
         
      Mass Storage  
      Pro Audio   
    ; 
     
       
        1394TA HOME | SITEMAP | SEARCH | PRIVACY &amp; SECURITY | CONTACT | FEEDBACK 
       &copy; Copyright 2008 1394 Trade Association -  
        All Rights Reserved 
        Use of this website signifies your agreement to the Terms of Use 
        For questions or comments, please contact the 1394TA Webmaster 
      ;

i fixed the problem by using split

htmlSurce.toLowerCase();
        String[] tmp = htmlSurce.split("\\<body.*>");
 htmlSurce = tmp[1].replaceAll("<[^>]*>","");
       htmlSurce = htmlSurce.replaceAll("&amp;","");
             htmlSurce = htmlSurce.replaceAll("&nbsp;","");

        return htmlSurce;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.