Task: Regex - Match Everything But a Specific Pattern
Task: Regex - Match Everything But a Specific Pattern: a task in Terminal-Lego-15k (Harbor dataset). You need to write a solution that uses regular expressions to filter lines from an input file, matching every line except those that start with a specific pattern: index.php (including anything…
The task
You need to write a solution that uses regular expressions to filter lines from an input file, matching every line **except** those that start with a specific pattern: `index.php` (including anything that follows it, such as `index.php?id=2342343`).
Part of PrimeIntellect/Terminal-Lego-15k.