I have the following string:
"test/12"
The test/ part is always fairly similar i.e. it could sometimes be test-ipad/,test-iphone/, etc…
And there will always be a number after the /.
What reg exp can I use in grails/groovy to retrieve the number?
Thanks
You can use this:
The second matched group will be the number.