console.log(remove_non_word('PHP ~!@#$%^&*()+`-={}[]|\\:";\'/?><., MySQL'));

function remove_non_word(str)
{
    var temp = str.split('');
   // console.log(temp)
    var ar = [];
   
 
    for(var i =0; i<=temp.length ; i++)
    {
            
    }
console.log(temp);
    return ar;
    
}

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: