Skip to content
R for the Rest of Us Logo

Data Cleaning with R

Combining Metacharacters

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

Write regular expressions to match the following, making sure they work in an interactive regex tester:

  1. cute, cuuute, cuuuuuute, and cuuuuuuuuute

  2. strings with both letters and digits

  3. strings ending in a period

  4. lowercase strings

  5. exactly four digits

  6. strings without the letterĀ s

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.