📜  javascript 匹配号码 - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:03:40.908000             🧑  作者: Mango
代码示例2
const match = 'some/path/123'.match(/\/(\d+)/)
const id = match[1] // '123'