![]() |
|
|
|
#1 |
|
> Your regular expression pattern should work unchanged, and you probably want
> to use *http://docs.python.org/library/re.html#re.findall or similar to do > the actual matching. If all you want to do is iterate over the matches, I > would use re.finditer Thank you, I found the solution: for m in re.finditer(r'href="?(.*?)"?>', text): print m.group(1) Laszlo Jabba Laci |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Motherboard general question | Jimmy Sledge | Computer Information | 8 | 03-10-2007 08:37 AM |
| Question on learning "Networking"... | DoubleEntendre | Computer Support | 15 | 03-11-2006 11:28 AM |
| hd partition question | rabbit | Computer Support | 6 | 01-12-2006 04:05 AM |
| Wireless PEAP/MSCHAPV2 client programming question | Jim Howard | Wireless Networking | 6 | 07-02-2005 12:53 PM |
| xp question | Barry | Computer Support | 18 | 12-31-2003 06:06 AM |