$delimitedText = "+Java+++PHP+++++++++++ASP+++OH"; $fields = preg_split("/\+{1,}/", $delimitedText); foreach($fields as $field) echo $field."";?>