javascript exploser
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
Grepper
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
var str = "my car is red";
var stringArray = str.split(/(\s+)/);
console.log(stringArray); // ["my", " ", "car", " ", "is", " ", "red"]
var input = 'john smith~123 Street~Apt 4~New York~NY~12345';
var fields = input.split('~');
var name = fields[0];
var street = fields[1];
var names = 'Harry ;Fred Barney; Helen Rigby ; Bill Abel ;Chris Hand ';
console.log(names);
var re = /\s*(?:;|$)\s*/;
var nameList = names.split(re);
console.log(nameList);
Array.prototype.split=function(ifs){return this.join("").split(ifs)}
let myArray = ["#", "#", "$", "#", "#", "$", "#"]
console.log(myArray.split("$")); // ["##","##","#"]