HF RL Explorer

Task: Extract File Content After a Pattern Match

Task: Extract File Content After a Pattern Match: a task in Terminal-Lego-15k (Harbor dataset). You have a text file that contains approximately 1000 lines. Your task is to extract all lines that appear after the first line that matches a specific regular expression pattern.

The task

You have a text file that contains approximately 1000 lines. Your task is to extract all lines that appear **after** the first line that matches a specific regular expression pattern.

Part of PrimeIntellect/Terminal-Lego-15k.