<?php $text = 'foo.bar,baz?bak!qux'; $arr = preg_split('/[.,?!]/', $text, -1, PREG_SPLIT_NO_EMPTY); print_r($arr);
You have javascript disabled. You will not be able to edit any code.