<script type="text/javascript">
$(".changeMobileNum").each(function(){
if(!isNaN($(this).val()) || $(this).val().match(/^((0d{2,3})-)(d{7,8})(-(d{3,}))?$/)){
var num = $(this).val().substring(0,3)+"****"+$(this).val().substring(8,11) ;
$(this).val(num);
}
});
</script>