摘要:
<?php$str = "{黄色}{绿色}{红色}@{大号}{中号}{小号}@{男款}{女款}{儿童}";$array1 = explode("@", $str);$array = array();foreach ($array1 as $row){ $_array = array(); //preg_match_all('/\{(.*?)\}/', $row, $_array); //preg_match_all('/\{(.*?)\}/', $row, $_array); preg_match_all(' 阅读全文