Track Python
Python track

Grep

An exercise from the Python 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