replace text/scanner