Question: In RStudio, please copy the follow concatenate strings mydata = c('Nancy Smith', 'is there any solution?', .[{(^$|?*+, coreyms.com, 321-555-4321, 123.555.1234, 123*555*1234) Please use regular expression

In RStudio, please copy the follow concatenate strings

mydata = c('Nancy Smith',

'is there any solution?',

".[{(^$|?*+",

"coreyms.com",

"321-555-4321",

"123.555.1234",

"123*555*1234")

Please use regular expression code to print out only phone numbers (e.g. last three items) [hint: use str_extract and \\d or .]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!