Last active
October 11, 2021 12:18
-
-
Save vinirossa/8bb69a775b799544a4f1a827f7fce152 to your computer and use it in GitHub Desktop.
Useful Regex Expressions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Useful Regex Expressions | |
[a-z] = letras minúsculas | |
[A-Z] = letras maiúsculas | |
[\d] = números | |
[àèìòùáéíóúâêîôûäëïöüãõ] = letras minúsculas e maiúsculas acentuadas | |
[\p{Letter}] = letras minúsculas e maiúsculas acentuadas e cedilha | |
[ç] = cedilha | |
[`´^~¨] = acentos | |
[.:,;\-_<>=+*!?)(}{|''""\][\\/] = sinais de pontuação | |
[@#$%&] = símbolos | |
[\s] = espaços | |
[\n] = quebras de linha | |
(?![ -~ç´¨àèìòùáéíóúâêîôûäëïöüãõ\n]). = caracteres non-unicode | |
[^\p{Letter}\d`´^~¨.,;\-_<>=+*!?)(}{|'"\][\\/@#$%&\s\n] = caracteres non-unicode | |
[a-zA-Z\dàèìòùáéíóúâêîôûäëïöüãõç`´^~¨.:,;\-_<>=+*!?)(}{|'"\][\\/@#$%&\s\n] | |
[\p{Letter}\d`´^~¨.:,;\-_<>=+*!?)(}{|'"\][\\/@#$%&\s\n] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment