I am trying to split the following string:
s = "Whyy noot this thing? Noot!"
into an array using the following delimiters:
delimiters = [
' ',
'?',
'!'
];
I believe that I can use this type of expression:
var array = string.split();
and that I can use RegEx.
But I don't know what to write between the parentheses in split().