I'm trying to get a number value from JSON-LD with regex. If i match a quoted value, like "price": "0.00" my regex works: "price": "(.*?)".
But if the value is just a number, like "ratingValue": 5, my regex stops working.
What should be the regex to match the number in examples liek "ratingValue": 5? I tried "ratingValue": (.*?), but it doesn't work too.