title: extract info from a string
body: <p>The following code is working, but I am not able to extract the information I need.
  I can use Soup or I need Regular expression?</p>
  
  <pre><code>from bs4 import BeautifulSoup
  import urllib2
  mynumber='1234567890'
  url="http://www.nccptrai.gov.in/nccpregistry/saveSearchSub.misc?phoneno="+mynumber
  page=urllib2.urlopen(url)
  soup = BeautifulSoup(page.read())   
  
  table = soup.findAll("table")[1]
  myl=[item.text.strip() for item in table.find_all('td')] 
  import re
  re.findall(r'is:\s*[^,]*' , myl[1])
  </code></pre>
  
  <p>The expected output is 4 parameters mentioned in the first string of the first slice.</p>
  
  <pre><code>['2014-08-07 15:50:00', 'Andhra Pradesh', 'Unitech', '0']
  </code></pre>
  
  <p>(Note the date is changed to Y-M-D)</p>
  
  <p>The string returned looks something like this...</p>
  
  <pre><code>[u'is:\n 31-10-2009 01:11\n\n\nService Area : \n Mumbai\n\n\nService Provider :\n Idea\n\n\n\n\n\nYour Preference is :0']
  </code></pre>