I'm scratching my head trying to find a solution on Stack Overflow, but nothing seems like the right fit. Can anyone provide some guidance?
I need a regex that will enable me to use JavaScript split
to break a string into an array. The test case is:
test1 test2, tes-t3; t"e's-----4. test5
After splitting, the array should consist of:
[test1, test2, tes-t3, t"e's-----4, test5]
Any suggestions on the best approach to tackle this problem?