开发者

Javascript code to extract a number from last of a string

开发者 https://www.devze.com 2023-03-22 04:34 出处:网络
I need开发者_运维百科 a javascript code to extract number from string like \"pushedProductType0\".alert( \"pushedProductType0\".match(/\\d/) )

I need开发者_运维百科 a javascript code to extract number from string like "pushedProductType0".


alert( "pushedProductType0".match(/\d/) )
0

精彩评论

暂无评论...
验证码 换一张
取 消