title: Python Looped regex only 1 data is inserted
body: <p>This is a follow up question from  <a href="https://stackoverflow.com/questions/37336875/how-do-i-loop-a-re-search-for-the-next-data?answertab=active#tab-top">here</a></p>
  
  <p>Using Racialz answer i can loop everything using the regex but only the last line of data is stored in the database how do i store all of the data instead of only the last 1</p>
  
  <pre><code>for thisMatch in re.findall(r"&lt;td&gt;(.+?)&lt;/td&gt;.+?&lt;td&gt;(.+?)&lt;/td&gt;.+?&lt;td&gt;(.+?)&lt;/td&gt;.+?&lt;td&gt;(.+?)&lt;/td&gt;", match3, re.DOTALL):
          print(thisMatch[0], thisMatch[1], thisMatch[2])
  
  sinfo = scrapyitem(name=thisMatch[0], hp=thisMatch[1], email=thisMatch[2])
  
  
   try:
       sinfo().save
  </code></pre>
  
  <p><strong>EDIT</strong></p>
  
  <p>match2 and match are just regex to narrow down on the search data.( i know it might be redundant and some might ask me to use parser instead ) </p>
  
  <pre><code>my_string = str(i)
      match = re.search("\&lt;!-- populate table from mysql database --&gt;(.*?)\     /tbody&gt;" , my_string).group(1)    
  match2 = re.findall('\&lt;div class = "info"&gt;(.*?)&lt;/tr&gt;' , match)
  match3 = str(match2)
  </code></pre>
  
  <p>data:</p>
  
  <pre><code> &lt;div class = "info"&gt; 
    &lt;div class="name"&gt;&lt;td&gt;random&lt;/td&gt;&lt;/div&gt;
    &lt;div class="hp"&gt;&lt;td&gt;123456&lt;/td&gt;&lt;/div&gt;
    &lt;div class="email"&gt;&lt;td&gt;random@mail.com&lt;/td&gt;&lt;/div&gt; 
   &lt;/div&gt;
  
   &lt;div class = "info"&gt; 
    &lt;div class="name"&gt;&lt;td&gt;random123&lt;/td&gt;&lt;/div&gt;
    &lt;div class="hp"&gt;&lt;td&gt;654321&lt;/td&gt;&lt;/div&gt;
    &lt;div class="email"&gt;&lt;td&gt;random123@mail.com&lt;/td&gt;&lt;/div&gt; 
   &lt;/div&gt;
  </code></pre>
  
  <p>The info saved into database will only be : </p>
  
  <pre><code>  random123
    654321
    random123@mail.com
  </code></pre>
  
  <p>match3 gives me:</p>
  
  <pre><code>&lt;div class="name"&gt;&lt;td&gt;random&lt;/td&gt;&lt;/div&gt;
  &lt;div class="hp"&gt;&lt;td&gt;123456&lt;/td&gt;&lt;/div&gt;
  &lt;div class="email"&gt;&lt;td&gt;random@mail.com&lt;/td&gt;&lt;/div&gt; 
  
  
  &lt;div class="name"&gt;&lt;td&gt;random123&lt;/td&gt;&lt;/div&gt;
  &lt;div class="hp"&gt;&lt;td&gt;654321&lt;/td&gt;&lt;/div&gt;
  &lt;div class="email"&gt;&lt;td&gt;random123@mail.com&lt;/td&gt;&lt;/div&gt; 
  </code></pre>