2015-11-02 preg_match(preg_match_all)は、デフォルトでは最長一致をかえす www.megasoft.co.jp あと、preg_matchは1回だけ、preg_match_allは複数検索し該当したやつ全部返してくれる。