1let reg = /[^charachter_to_not_match]*/
2// Example
3let str = '<<1,2,3>, <4,5,6>, <7,8,9>>'
4//match everything but '>'
5reg = /[^>]+/g // Array(3) ["<<1,2,3", ", <4,5,6", ", <7,8,9"]
6//match everything but '<' and '>'
7reg = /[^<>]+/g // Array(5) ["1,2,3", ", ", "4,5,6", ", ", ...]
8//match anything but '<', '>', ',' and '\s' (\s=any whitespace)
9reg = /[^<>,\s]+/g // Array (9) ["1", "2", ..., "9"]