我想检索类别内属性“ ean13”之后的数字:
<script>
universal_variable['product'] = {
id: 29363,
ean13: '4005900288646',
name: 'Cellular Perfect Skin Cuidado De Día Fp 15',
brand: 'Nivea',
price: 13.97,
old_price: 19.95,
active: 1,
categories: 'Cremas Hidratantes y Antiedad, Cuidado Facial, Higiene y Belleza',
url: 'https://www.ulabox.com/producto/cellular-perfect-skin-cuidado-de-dia-fp-15/29363',
image: 'https://static.ulabox.com/media/62855_l1.jpg'
};
</script>
答案 0 :(得分:1)
尝试这个以获得4005900288646
//script/substring-before(substring-after(., "ean13: '"), "',")