Tag: PHP/正規表現
<?php // 空白文字で分割 $keywords = preg_split("/[\s,]+/", "hypertext language, programming"); print_r($keywords); ?>