var str = "Number of tube((13 Hi all people * _ +)) Number of tube((HI AKK))"; alert(str.match(/([^\(\)]+)(?=\)+)/g));