HF RL Explorer

Task: Remove Lines Containing a Specific Word Using Regex

Task: Remove Lines Containing a Specific Word Using Regex: a task in Terminal-Lego-15k (Harbor dataset). You have a document containing a list of commands. Your task is to remove all lines that contain the word "help" (case-insensitive match is NOT required - only match lowercase "help"). This…

The task

You have a document containing a list of commands. Your task is to remove all lines that contain the word "help" (case-insensitive match is NOT required - only match lowercase "help"). This includes lines where "help" appears as part of a larger word, such as "keyboard_help", "help_menu", "helper", etc.

Part of PrimeIntellect/Terminal-Lego-15k.