replace string by a placeholder style.