PHP-Code:
<?
$text = 'The Clash - London Calling +SIZE+89.5+SIZE+ #TRACKS#19#TRACKS#';
$pattern = '#\+SIZE\+([0-9\.]+)\+SIZE\+ \#TRACKS\#([0-9]+)\#TRACKS\##';
echo preg_match($pattern, $text, $matches);
print_r($matches);
oder so
sry, hab gerade keine Lust dir das zu erklären, guck ins Manual/versch. Tutorials oder verwende den Code-Fitzel einfach...
[edit] nochmal in code-Tags weil die ganzen Slashes geschluckt wurden (sc* Forum)
Code:
<?
$text = 'The Clash - London Calling +SIZE+89.5+SIZE+ #TRACKS#19#TRACKS#';
$pattern = '#\+SIZE\+([0-9\.]+)\+SIZE\+ \#TRACKS\#([0-9]+)\#TRACKS\##';
echo preg_match($pattern, $text, $matches);
print_r($matches);