An Advanced Search and Replace Program