My JSON looks like
user1-->
{"feeds": [{"trait": "ms", "rating": "5", "observation": "fstress", "riskscaling": "3"}, {"trait": "es", "rating": "7", "observation": "abcde", "riskscaling": 6}], "ad_countryCode": "91"}
If I want to find value for a user having fstress then I am using query as-
SELECT DISTINCT globalusers.id
FROM globalusers
WHERE (JSON_SEARCH(dynamic_attributes->>'$.feeds[*].observation','all', 'fstress'));
then I am getting my user id but now I want to use regex to find user having {fstress}
Any one help?