I have a list that looks like this:
["X['name']",
"X['fields']['height']",
"X['fields']['date']",
"X['fields']['id']['doc']['result']['zipcode']"]
How do I get a new list with just:
['name','height','date','zipcode']
So basically just the string in the last bracket from every item.
Thanks in advance!