Re: [Tutor] Regex search in HTML data

2006-08-08 Thread Alan Gauld
> Please, see the attachment and examine a code I have provide. The > problem is, I want fetch data from Comments until the first > occurrence , Do you mean the unmatched /td that occurs after the dd section? > import re > import string > > htmlData = """ > Instructions > Comments > > > No

[Tutor] Regex search in HTML data

2006-08-08 Thread Basil Shubin
Hi friends, Please, see the attachment and examine a code I have provide. The problem is, I want fetch data from Comments until the first occurrence , but with my code data fetchind until the last in htmlData variable, but that is not what I want. So question is, what is my mistake? Thank