Task: JavaScript Date String Split with Regex
Task: JavaScript Date String Split with Regex: a task in Terminal-Lego-15k (Harbor dataset). Create a JavaScript solution that can split date strings using multiple possible delimiters. The solution should be able to handle dates that are separated by any of the following characters: - Hyphen ( -…
The task
Create a JavaScript solution that can split date strings using multiple possible delimiters. The solution should be able to handle dates that are separated by any of the following characters: - Hyphen (`-`) - Period (`.`) - Forward slash (`/`) - Space (` `)
Part of PrimeIntellect/Terminal-Lego-15k.