jQuery(function($){ $('#et-info-phone').wrap(function(){ var num = $(this).text(); num = num.replace(/[^0-9+]+/g, '-'); // sanitize num = num.replace(/^[-]|[-]$/g, ''); // trim return ''; }); });
Pensiune: 0259 320.049 --- Restaurant: 0775 306.231 --- Evenimente: 0743 934.923 office@principesamargaretabeius.ro