KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel