I tried to extract Sub-String from java string, but failed. i tried like this
String text = "audios/{any_number} any_audio_name.mp3";
text= text.substring(text.indexOf('/'), text.indexOf('3')-2);
Updated
I need String contains only any_audio_name and removing audios/ , any number e.g. {123} and .mp3
For example audios/{211} new school poem.mp3 to new school poem
/, usetext.indexOf('/')+1. And better to uselastIndexOf('.')than relying on subtracting 2.