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"
Questo esercizio fa parte del corso
Intermediate Regular Expressions in R
Esercizio pratico interattivo
Passa dalla teoria alla pratica con uno dei nostri esercizi interattivi
Inizia esercizio