Replace comments with spaces to preserve indexes (offsets)
Replace exact occurrences by index