I have some HTML such as....

<a href="...."><img src="image/blah/a.jpg" id="ddddd">blah blah blah</
a>....

I wnat to pull out the text that lies inside the quotes of the src
attribute.  So in this example I would get image/blah/a.jpg

My regex so far is:  src=\"(.*)\" ....however the group in this case
would end up being, image/blah/a.jpg" id="ddddd">blah blah blah</
a>.....

how can I tell the regex group (.*) to end when it gets to the first
" ?

thanks

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to