我是正则表达式的新手,似乎我迷失了它。
var data = [
{"label":"1","id":"31507","url":"/restaurant/sr2.htm?&shopid=31507","name":"content1","lat":"22.2874683487767","long":"114.14677977562","zoom":"18","photo":"//static3.openrice.com.hk/UserPhoto/photo/0/OA/004SR09CA05ACD14878033s.jpg","district":"上環","addr":"content2","phone":"content3"
如果我想在上面的脚本中获取content1,content2和content3,我应该用什么正则表达式来获取它?
我尝试了“/.”,“名称”:“(。)”/ ms“”获取内容1,但失败了。
感谢。