fAmOus,
<html>
<head>
<title></title>
</head>
<body>
<div id="inText">PC, PlayStation3, X-BOX 360, PlayStation 2, 3DS</div>
<select id="tPlatform" size="13" multiple name="Platform">
<option value=" PC">PC</option>
<option value=" PlayStation3">PlayStation3</option>
<option value=" X-BOX 360">X-BOX 360</option>
<option value=" Wii">Wii</option>
<option value=" PSP">PSP</option>
<option value=" iPhone">iPhone</option>
<option value=" Android">Android</option>
<option value=" Nintendo DS">Nintendo DS</option>
<option value=" Xbox">Xbox</option>
<option value=" PlayStation 2">PlayStation 2</option>
<option value=" GameCube">GameCube</option>
<option value=" 3DS">3DS</option>
<option value=" Vita">Vita</option>
<option value=" Wii U">Wii U</option>
</select>
<script>
window.onload = function () {
var div = document.getElementById("inText").innerHTML, els = div.split(", "), sel = document.getElementById("tPlatform").options;
if (els.length < 1) { return; }
for (i=0; i < sel.length; i++) {
for (j=0; j < els.length; j++) {
if (sel[i].text == els[j]) { sel[i].selected = true; break; }
}
}
}
</script>
</body></html>