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"
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Intermediate Regular Expressions in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำจริง
เปลี่ยนทฤษฎีให้เป็นการลงมือทำด้วยแบบฝึกหัดเชิงโต้ตอบหนึ่งในของเรา
เริ่มแบบฝึกหัด