I've been struggling all day to try and convert the following regex that works for php, into a form for javascript. I am trying to use it for some VBA where I can replace "sedol" with a variable so I can loop through the string to get "name" and other elements So for example below I would want the outcome to = '0452173'
php regex:
(?<="sedol":")(.+?)(?=",")
String extract:
"sedol":"0452173","name":"Aberdeen Japan Equity (Class I)", .....