VimDojo
Lessons
Challenges
Editor Demo
Login
Get Started
← Back to Challenges
advanced
Time limit: 0:30
Keep Only Matching Lines
Keep only lines containing "error" and delete everything else.
Commands
:v
Keep Only Matching Lines
Keep only lines containing "error" and delete everything else.
Time
0:00
/ 0:30
Editor
0 keys
1
i
nfo: server started
2
error: disk full
3
debug: checking cache
4
error: timeout
5
info: request received
6
debug: query complete
7
error: auth failed
-- NORMAL --
keep-matching-lines
Target
1
error: disk full
2
error: timeout
3
error: auth failed
-- NORMAL --
keep-matching-lines
Hints (0/2)
Reset
⚠ Guest mode —
Sign in
to save your progress and score