RegEx

From Braindisconnect
Jump to navigationJump to search

Comma without white space after it

/,(?!\s)/

PHP Usage Example:

$array = preg_split('/,(?!\s)/', $string);