JSFiddle - React, Tailwind, and code Playground
by dru_zod
JavaScript
var text = 'all my cat\'s dogs are fried - - green';
var words = text.split(/(\s+|\b)/);
console.log(words);
var x = 'test';
for (c in x) {
console.log(x[c]);
}
by dru_zod
var text = 'all my cat\'s dogs are fried - - green';
var words = text.split(/(\s+|\b)/);
console.log(words);
var x = 'test';
for (c in x) {
console.log(x[c]);
}