Python function

Create a function that opens every .txt file in a folder (directory) and searches for any line that includes a user supplied regular expression.

Sample Solution