search and replace alternative for win32