I have this simple string :
\"a1a2a3\"
Is there any regex expression which can be used with split command so it will split the str
split
I already answered this in chat. You really should be using String.prototype.match.
String.prototype.match
Can be done with split? Technically, yes. You can split it by /(..)/ and then filter out the blank strings.
/(..)/
"a1a2a3".split(/(..)/).filter(function(a){ return a !== ''; });