I have a RegEx question that I'm having a hard time finding a solution. I want to process a list of strings of the type:
genre = '[{"id": 28, "name": "Action"}, {"id": 12, "name": "Adventure"}, {"id": 14, "name": "Fantasy"}, {"id": 878, "name": "Science Fiction"}]'
These are the "genre" column of a movies dataframe I am working with. I want to return a list of just the name of the genres. I've tried using re.match() and .search(). But I am too much of a RegEx beginner.
Could you help me with a solution for this?
Thank you so much in advance!