I am wondering how to use jQuery.Split() with an “OR” – i.e. like
example@example.com, example2@example.com,example3@example.com
So it returns like
example@example.com
example2@example.com
example3@example.com
But notice the ",<space>" and "," – that is – I want to split this string using EITHER "," or ",<space>" ?
There is no jQuery split ..
Just use a regular expression..
or as @Andomar mentions in the comments, the simpler