HF RL Explorer

Task: Search and Replace Using Regular Expressions in the Terminal

Task: Search and Replace Using Regular Expressions in the Terminal: a task in Terminal-Lego-15k (Harbor dataset). You are given a Markdown document that contains multiple occurrences of the word content . Your task is to use a command-line tool with regular expressions to replace every standalone…

The task

You are given a Markdown document that contains multiple occurrences of the word `content`. Your task is to use a command-line tool with **regular expressions** to replace every standalone occurrence of the word `content` with `#### content` (i.e., prepend `#### ` before the word `content`).

Part of PrimeIntellect/Terminal-Lego-15k.