I’m trying to extract the value of this variable which is in a string along with other Javascript. Any help to get beyond where I’m at would be very helpful!
...
const someObject = {
name: 'About Us',
objectProp: [{
type: 'text',
default: {
value: 'Hey there'
}
}]
permissions: [],
position: 'relative',
breakpoints: [],
slots: [],
}
...
This gets me close but terminates at the first }
under value: 'Hey there'
(?<=someObject[s?]*[=][s?]*)({[sS]*?})