I need a regex that gives me true when a letter exists in the input. I have tried if (formula.contains("[a-zA-Z]+") == true), but this does not seem to work.
if (formula.contains("[a-zA-Z]+") == true)
Aucun commentaire:
Enregistrer un commentaire