3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = 'Jessie J, Ariana Grande and Nicki Minaj - Bang Bang (Audio)'; print_r( preg_split('/([\W^\s]|\band\b)/', $string) );
based on ECnbD
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Jessie [1] => J [2] => [3] => Ariana [4] => Grande [5] => [6] => [7] => Nicki [8] => Minaj [9] => [10] => [11] => Bang [12] => Bang [13] => [14] => Audio [15] => )