I wrote a regular expression which I expect should work but it doesn't.
var regex = new RegExp('(?<=\[)[0-9]+(?=\])')
Javascript is giving me the error Invalid regular expression :(/(?<=[)[0-9]+(?=])/): Invalid group
Does javascript not support lookahead or lookbehind?