hello im just having a problem here with PREG_MATCH_ALL() lets say i have 2 strings ... Save You and What If Uploader Name i need to retreive Save You so i'm using the folowing paterns
preg_match_all('/<span id="title.*">(.*)<\/span>/i',,);
as a result i get
Save You Uploader Name
I think this is because it's taking the last any way to fix it ? or like matching the first ? thank you
EDIT:
<a href="#" onclick="searchActions.showLyrics('14840_100733666_21',9965243); return false;">Can't Keep My Hands Off You</a></span>
get as result
<a href="Your Love Is A Lie"</a>
with
/<span id="title(.*?)">(.*?)<\/span>/i