04 Feb
by: Matt in Development, PHP
tags: explode, php, preg_split, regex, regular expression, split, whitespace
The following line splits a string by any combination of whitespace (including newlines) and commas:
<?php
$splitArray = preg_split("/[\s,]+/", $input);
?>
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.