Examples:
test "testing 123! :)" // -> ['test', 'testing 123! :)']
test "\"testing these are some nice quotes!\"" // -> ['test', '"testing these are some nice quotes!\"']
Is there anyway to do this with regex in JavaScript? Perhaps it could also work with --flag=value as well!