Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
If it fits into memory, then by regular means. If it doesn’t fit, then split it into parts and, again, look for regular means in each part.
$text = 'sometext"link":"mp3-1456/6567766876843"
"link":"mp3-1234/5678"anyinfo"link":"mp3-14567890987654/6"';
\preg_match_all('/\"link\":\"(mp3\-[\d]+\/[\d]+)\"/u', $text, $matches);
echo '<pre>';
var_dump($matches[1]);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question