🎉 Exercism Research is now launched. Help Exercism, help science and have some fun at research.exercism.io 🎉
Track Java
Java track

Grep

An exercise from the Java track
medium

About this exercise

Search a file for lines matching a regular expression pattern. Return the line number and contents of each matching line.

files
filtering
pattern matching
searching
strings
View all solutions