49
rated 0 times
[
55]
[
6]
/ answers: 1 / hits: 18447
/ 14 Years ago, mon, august 9, 2010, 12:00:00
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?
More From » regex