title: extract url using preg match
body: <p>I need your help in preg_match. I need data which starting just after ?q= and ends just before &amp;ct</p>
  
  <p>e.g</p>
  
  <p><strong>i/p -</strong> </p>
  
  <p><a href="http://www.google.com/url?q=http://www.sfgate.com/travel/article/Vermont-s-Shelburne-Museum-opens-Pizzagalli-Center-4735584.php&amp;ct=ga&amp;cd=NzIzOTQ3Mjk1NTg1NTg4NjE2OQ&amp;cad=CAE=YAA&amp;usg=AFQjCNHX6CCEmaLgHGzwAy7uVxZOZuL7qw" rel="nofollow">http://www.google.com/url?q=http://www.sfgate.com/travel/article/Vermont-s-Shelburne-Museum-opens-Pizzagalli-Center-4735584.php&amp;ct=ga&amp;cd=NzIzOTQ3Mjk1NTg1NTg4NjE2OQ&amp;cad=CAE=YAA&amp;usg=AFQjCNHX6CCEmaLgHGzwAy7uVxZOZuL7qw</a></p>
  
  <p><strong>o/p -</strong> </p>
  
  <p><a href="http://www.sfgate.com/travel/article/Vermont-s-Shelburne-Museum-opens-Pizzagalli-Center-4735584.php" rel="nofollow">http://www.sfgate.com/travel/article/Vermont-s-Shelburne-Museum-opens-Pizzagalli-Center-4735584.php</a></p>
  
  <p>I dont have any experience of preg_match Please help.It would be a great help for me.</p>
  
  <p>Thanks in advance!!!</p>