Extr开发者_如何学JAVAact the number after #/ from my string: abcdefg#/123.
This assumes the match will succeed: 'abcdefg#/123'.match(/#\/(\d+)/)[1]
Extr开发者_如何学JAVAact the number after #/ from my string: abcdefg#/123.
This assumes the match will succeed: 'abcdefg#/123'.match(/#\/(\d+)/)[1]
精彩评论