Get startedGet started for free

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"

This exercise is part of the course

Intermediate Regular Expressions in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise