[Python] Match letter in any language

Discussão em 'Python' iniciado por Stack, Agosto 4, 2025.

  1. Stack

    Stack Membro Participativo

    How can I match a letter from any language using a regex in python 3?

    re.match([a-zA-Z]) will match the english language characters but I want all languages to be supported simultaneously.

    I don't wish to match the ' in can't or underscores or any other type of formatting. I do wish my regex to match: c, a, n, t, Å, é, and 中.

    Continue reading...

Compartilhe esta Página