У меня есть строка
" 'backgroundColor': someVaraible,
'border': '1px solid red',
'line-height': 1,
'background-color': 'rgba(142, 27, 95, 1)' "
Как получить массив строк с помощью Regexp?
[
"'backgroundColor': someVaraible",
"'border': '1px solid red'",
"'line-height': 1",
"'background-color': 'rgba(142, 27, 95, 1)'"
]