Works perfectly!!! One quick amendment: How do I get a comma from appearing at the end?
<?php
$string = "Nokia 3100 (49532 bytes)Nokia 3100b (3723 bytes)Nokia 3108 (12004 bytes) ";
$pattern = "/ (.+?)/";
$replacement = ",";
echo preg_replace($pattern, $replacement, $string);
?>
This produces:
Nokia 3100,Nokia 3100b,Nokia 3108,
I just want to get rid of the final comma at the end of the list--is that possible?
Thanks ever so much,
Siobhan