dima***,
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<script>
var arr='«Школа №31» Москва.«Школа №31».';
reg=/(«.+?»)\s?([А-Яа-я]*)\./ig;
b=arr.match(reg);
c=[];
for(i=0;i<b.length;i++){
c[i]=b[i].replace(reg,'$1,$2');
c[i] = c[i].split(',');
document.write(c[i]+'<br>');
}
</script>
</body>
</html>