samedi 17 juin 2017

HTML pattern for special character

How can I set HTML input pattern in order to allow:

  • apostrophe
  • accent character (àèéìòù)
  • spaces (allowed)

that's actualy my pattern setting pattern="[a-zA-Z0-9\s]+"

Aucun commentaire:

Enregistrer un commentaire