我有以下字符串:
"test/12"
该test/部分总是非常相似,即它有时可能是test-ipad/, test-iphone/, 等等...
后面总会有一个数字/。
我可以在 grails/groovy 中使用什么 reg exp 来检索数字?
谢谢
我有以下字符串:
"test/12"
该test/部分总是非常相似,即它有时可能是test-ipad/, test-iphone/, 等等...
后面总会有一个数字/。
我可以在 grails/groovy 中使用什么 reg exp 来检索数字?
谢谢