I am getting the source code of page in one variable.
<!DOCTYPE html><html><head><title>Intro</title></head><body><a href='/name=t1.304.log'>Test</a>. </body></html>
I want to extract t1.304.log
out of above line.
I am using print log_name.split(".log",1)[0]
but it is fetching me the first whole part.