VIP 👤
🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles 🔌 API y routers
khó

Thay thế văn bản toàn cục

#thay thế #substitute #regex

Sử dụng lệnh substitute để thay thế chuỗi ký tự trong tệp.

Giải thích cú pháp của lệnh thay thế :s/cũ/mới/ để thay thế lần xuất hiện đầu tiên. Sau đó, cung cấp lệnh để thay thế tất cả các lần xuất hiện trong toàn bộ tệp tin (:%s/cũ/mới/g).