the regular expression probably did not find anything.

try this :
also remove the /Ui at the end

import re
out=Data #web site html page ..
title_regex = "/&lt;title&gt;(.+)&lt;\/title&gt;/i" #no need for this .. un used 
if m is not None:  #  NEW  &lt;----------------
   m = re.search("&lt;title&gt;(.+)&lt;\/title&gt;", out)
print "title",m.group(1)
#for pics i have tried this but it give me error ..
pics = re.match(r"&lt;img[^&gt;]*src=[\"|\'](.*)[\"|\']", out)
if pics is not None: # NEW &lt;----------------
   print "grop",pics.group(1)


for you 2nd question try this

for filename in pics.groups():
    print filename


php regular expession convert to python code
When someone commits a wrong against another person, what is he supposed to do to make things right?  Is seeking forgiveness from God sufficient, or do you first need to set things right with the other person?  If the latter, what are you obligated to do -- apologize, make amends (what kinds), something else?

Does the answer depend on the type of damage done?  For example, is gossip different from property damage, or injury?

Does the answer depend on who was wronged?  Is the obligation to a fellow Christian different than one to a non-Christian? 



I'm looking for a general Christian teaching on this subject.  If there's a wide range of opinions on this, I'd like to know what the teachings are, and the Scriptural support for them.

I am not Christian and thus am not asking what I should do in this case.  I know what is expected of me as a Jew if I have wronged somebody else, and I am curious about how that compares to what your religion teaches about what is expected of a Christian who wrongs another.  I'm not asking about the other side of the case, the obligation to forgive.
