HF RL Explorer

Task: Extract Text Between Square Brackets Using Regular Expressions

Task: Extract Text Between Square Brackets Using Regular Expressions: a task in Terminal-Lego-15k (Harbor dataset). You need to write a script that extracts all text content enclosed within square brackets from a given input file. The brackets themselves should not be included in the output.

The task

You need to write a script that extracts all text content enclosed within square brackets `[]` from a given input file. The brackets themselves should not be included in the output.

Part of PrimeIntellect/Terminal-Lego-15k.