I have String = March2022
and I want to split it into two words March and 2022 but the March word keeps changing based on the month sometimes April or June as well the year sometimes 2023 or 2024, how can I split it to
String month = March
String year = 2022
or
String month = April
String year = 2024
thanks in advance
I tried
month.split("\[0-9\]")\[0\];
year.split("\[A-z\]")\[0\];
but does not work