ComeçarComece de graça

You can now read this!

You did it, this is pretty much everything you need to know about regular expressions. At least what you need to get started. In the following chapters you will also learn about capturing groups and how you can extract multiple pieces of information from a text into a table. Time for a last quick test: Can you tell me what the following pattern will match?

pattern = "\\w{3,}@\\w+\\.com"

Este exercício faz parte do curso

Intermediate Regular Expressions in R

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício