regex - Capture id between square brackets in mysql -


from using mysql regex want check id exits or not in secure brackets

fields value

{"id":"66","value":"2480"},{"id":"69","value":["25","27"]} 

query:

(fields regexp '{"id":"69","value":[^{]*("25"|"27")')  

this not working

if user check id=66 , value=2480 record show, same if user check id=69 , value=25 or 27 record show.

how can this?


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -