Bonjour,

j'ai une chaine de ce type

"FA SOL) (LALALLALALALALALLALA)"

comment savoir si il ya une parenthese ouvrante dans cette chaine ?

ce code ne fonctionne pas
System.out.println(Pattern.matches("(^*(*$)", chaine));

merci.