Simplified searching method for find/replace