<div>hello again,</div>
<div> </div>
<div>still having problems....i have the following in a txt file:</div>
<div> </div>
<div>
<p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINE\software\compete\dca]<br>"UserId"="92005851"<br>"PanelId"="mayflower"<br>"PanelName"="Consumer Input Toolbar"<br>"CaptureType"=dword:00000002
<br>"CapTypOvr"=dword:00000001<br>"ExePath"="C:\\Program Files\\Consumer Input Toolbar\\ConsumerInputToolbar.exe"<br>"DcaVer"=dword:00000640<br>"DcaUpdateVer"=dword:00000640
<br>"CfgVer"=dword:00000640<br>"RulesVer"=dword:00000008<br>"UaCheck"=dword:0000005a<br>"Survey"=dword:00000001<br>"ErrWaitMin"=dword:00000001<br>"ErrWaitMax"=dword:00000002
<br>"KeepAlive"=dword:00000001<br>"PerfEnabled"=dword:00000000<br>"PerfPath"="<a href="http://www.consumerinput.com.edgesuite.net/speedera/10k2.txt">http://www.consumerinput.com.edgesuite.net/speedera/10k2.txt
</a>"</p>
<p>I want to remove the "  found at the beginning of each line. When I use:</p>
<p>for line in new_line.readlines():<br> line = re.sub('"',"",line) <br> print line</p>
<p>I get: </p>
<p>i n d o w s   R e g i s t r y   E d i t o r   V e r s i o n   5 . 0 0 <br> </p>
<p> </p>
<p>H K E Y _ L O C A L _ M A C H I N E \ s o f t w a r e \ c o m p e t e \ d c a ] <br> </p>
<p>U s e r I d " = " 9 2 0 0 5 8 5 1 " <br> </p>
<p>P a n e l I d " = " m a y f l o w e r " <br> </p>
<p>P a n e l N a m e " = " C o n s u m e r   I n p u t   T o o l b a r " <br> </p>
<p>C a p t u r e T y p e " = d w o r d : 0 0 0 0 0 0 0 2 <br> </p>
<p>C a p T y p O v r " = d w o r d : 0 0 0 0 0 0 0 1 <br> </p>
<p>E x e P a t h " = " C : \ \ P r o g r a m   F i l e s \ \ C o n s u m e r   I n p u t   T o o l b a r \ \ C o n s u m e r I n p u t T o o l b a r . e x e " <br> </p>
<p>D c a V e r " = d w o r d : 0 0 0 0 0 6 4 0 <br> </p>
<p>D c a U p d a t e V e r " = d w o r d : 0 0 0 0 0 6 4 0 <br> </p>
<p>etc etc...Too much space...how do i get the same output with all the space..this is killing me please help</p>
<p> </p>
<p> </p></div>