特定のパターンに一致させて解析する必要があるランダム文字列があります。
私のひも~
{"sid":"zw9cmv1pzybexi","parentId":null,"time":1373271966311,"color":"#e94d57", "userId":"255863" ,"st":"comment","type": "section","cType":"parent"},{},null,null,null,null,{"sid":"zwldv1lx4f7ovx","parentId":"zw9cmv1pzybexi","time":1373347545798,"color" :"#774697", "userId":"5216907" ,"st":"comment","type":"section","cType":"child"},{},null,null,null,null, null,{"sid":"zw76w68c91mhbs","parentId":"zw9cmv1pzybexi","time":1373356224065,"color":"#774697","userId":"5216907" ,"st":"comment","type":"section","cType":"child"},
上記から、(正規表現を使用して) userId 属性のすべての値を解析したいと思います。これを行う方法について誰かが私を助けることができますか? JSON ではなく、ランダムな文字列です。このための正規表現ソリューションを提供してもらえますか?