I'm attempting to search a string for a certain sequence. I have not done anything with re, and it is... a bit confusing.
I'm looking for this string:
<div class="indexcenter"> (there's a portion of text here using newlines and characters) <!-- end indexcenter -->
I am thinking something alone these lines:
re.findall('<div class=\"indexcenter\">.+<!-- end indexcenter -->',html)
suggestions?