JS corresponde a qualquer string de número
const match = 'some/path/123'.match(/\/(\d+)/)
const id = match[1] // '123'
foloinfo
const match = 'some/path/123'.match(/\/(\d+)/)
const id = match[1] // '123'
/sid=(.*)/