espltd,
<!DOCTYPE html>
<html lang="en">
<head>
<script src="http://code.jquery.com/jquery-1.11.1.js"></script>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<textarea rows="12">+79028380801;
+79197076971;
89199176972;
+79206496973;
89192236974;
8-9502236923;
89222236958;
</textarea>
<button onclick="same()">Привести к общему виду</button>
<div id="ggg"></div>
</body>
</html>
<script>
function same(){
var t = $('textarea').val();
var r1 = t.replace(/\+7/g,"8");
var r2 = r1.replace(/\-/g,"");
$('textarea').val(r2);
}
</script>