I need to split only month names from a string .
Ex :
let str = "januaryfebruaryapriltuesdayfriday";
I want to split like
let arr = ["january","february"," april "]
I am new to JS , I have tried split method ,but i didn't get the result ,is there anyway to do this ?