I came across the following to split a string into "tokens":
$tokens = preg_split("/[^\-_A-Za-z0-9]+/", $string);
Could somebody explain to me how this is different from this:
$tokens = explode(' ', $string);
Any help would be greatly appreciated :-)