O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 19 de 33 · Mídia

Metacharacters

Kostas Diakogiannis

Metacharacters

Metacharacters

Metacharacters in regular expressions are called all these weird special characters to regex that mean something specifically to a pattern and cannot be taken as a letter literal. 

We place them always between the two backslashes where we define the body of our pattern. Some of the most common used include: 

\w Which matches any letter or number. It is called word character

\d which matches all digits(numbers)

\s matches a space character

\. matches all letters, digits and special characters (be careful with that!)

\D all non-digit characters

\W matches all non-word characters (everything that is not a letter nor digit)

 

And many many more, you can find the full list here!

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?