I want to split my following string with multiple argument like space and / and :
21-10-2015 / 7:49:43 AM
I tried following Regular Expression
str.split(/[:-\/]/)
----------^
But it give me error like SyntaxError: invalid range in character class
how to resolve it ?