replace [ by &#91; and ] by &#93;