[Solved] Regular expression findall python

This looks like a json object but doesn’t have [] around it to make it an actual list. You should be able to convert it into a Python native list of dictionaries and navigate it: import json recipe = json.loads(‘[‘ + your_text + ‘]’) steps = [obj[“text”] for obj in recipe if obj.get(“@type”) == “HowToStep”] … Read more