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

Grep

An exercise from the JavaScript 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
searching
text formatting
View all solutions