import re
html_source_det = '''
<tr>
<td width="35%">Demand No</td>
<td width="65%"><input type="text" name="T1" size="12" onFocus="this.blur()" value="876716001"></td>
</tr>'''


match_det = re.compile(r'<td width="35.+?">(.+?)</td>').findall(html_source_det)
print match_det

match_det = re.compile('<td width="35.+?">(.+?)</td>\n'
                       '<td width="65.+?value="(.+?)"></td>').findall(html_source_det)
print  match_det
