I am having a particular pattern of string
page0001
page0002
.
.
.
pageMN23
pageMN24
.
page0100
page0101
and so on
I have to remove "page" and zero's after that and then pick up the page number from that. and stroe that value. Here it will return both integer and string value for example "3","4" ,"MN23", MN24". What can be used so that correct value return and it get store in correctly.
str.replaceAll("page0","").split(" ")?