¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 19 de 33 · Multimedia

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!

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?