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

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -