Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Strings basics
Regular expressions
Modifying strings
Summary
22. Exercise 2

Instruction

Unfortunately, there are some mistakes in the guests' names – random numbers have been inserted. Let's fix this.

Exercise

Remove the numbers from the guests' names. Use the guest_name column and the reservations data frame.

Stuck? Here's a hint!

Use the gsub() function with the pattern: [[:digit:]] or \\d.