jeudi 22 juin 2017

HTML Input Pattern Comma and Letters

What is the correct pattern for a text input to only allow uppercase letters, lowercase letters, and commas?

I know that this is correct for the letters:

pattern="[a-zA-Z]"

but I dont know how to allow commas.

Thanks for any help!

Aucun commentaire:

Enregistrer un commentaire