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
Post a Comment