Regex Java syntax
Pattern pattern = Pattern.compile(" /([a-zA-Z0-9]+)");
Matcher matcher = pattern.matcher(stringYouWantToSearch);
matcher.find(); // use find to move onto the next match
try {
return matcher.group(1);
} catch (IllegalStateException e) {
return "";
}