mercredi 8 janvier 2020

find number in json array value with regex

i want match string in json string that like:

"ids":[44,53,1,3,12,45]

i want run query in sqlite send only one digit as id and match one of the above id in sql statement

i write this regex "ids":[\[] for matching start of key but i don't have any idea to match middle id and escape starting id

Regards, a programmer struggle with regex

Aucun commentaire:

Enregistrer un commentaire