What is the pattern to get "Spain from these two strings" At the moment I can only get from String d. E.g
String s ="Teatre catal� amb Manel Fuentes\ (2004))(Spain: Catalan title)(working title)",
String d = "Teatre Catal amb Manel Fuentes (Spain)(2004)"
Matcher matcher = Pattern.compile("\\((Spain))".matcher(d)
Is it possible to get "Spain from both these strings?
Aucun commentaire:
Enregistrer un commentaire