I have string like
"{format=svg, width=383, height=480, transform=[40, 40, 40, 40], scaleX=1, scaleY=1}"
How can I return object with key value with regex like. Many thanks!
{
format: 'svg',
width: 383,
height: 480,
transform: [40, 40, 40, 40],
scaleX: 1,
scaleY: 1
}