HF RL Explorer

Task: Regular Expression to Match Words with ASCII and Non-ASCII Characters

Task: Regular Expression to Match Words with ASCII and Non-ASCII Characters: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript solution that uses regular expressions to match all words individually from an input string, where words may contain both ASCII and non-ASCII characters…

The task

Create a JavaScript solution that uses regular expressions to match all words individually from an input string, where words may contain both ASCII and non-ASCII characters (such as `ü`, `ö`, `ß`, `ñ`, `é`, `中文`, etc.).

Part of PrimeIntellect/Terminal-Lego-15k.