正则表达式tab表示 .* [d.]+(.*) ([d.]+){"type":"1","name":"$1","value":"$2"},引入json方法1:<script src="./detail.json"></script>