re.findall("[a-zA-Z*,*\-!*.]"
This regular expression checks for valid letters, ".", "-", "-", "!" in a word. I understood the first part
[a-zA-Z]
Can someone please explain this?
[*,*\-!*.]
Aucun commentaire:
Enregistrer un commentaire