Task: Extract IMG Tags from Text File Using Python Regex
Task: Extract IMG Tags from Text File Using Python Regex: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that reads a text file, searches for <img ... tags using regular expressions, and writes all found img tags as strings to an output file.
The task
Write a Python script that reads a text file, searches for `<img ... >` tags using regular expressions, and writes all found img tags as strings to an output file.
Part of PrimeIntellect/Terminal-Lego-15k.