Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please provide a regular expression to match all telephone numbers associated with variable phones: phones

Please provide a regular expression to match all telephone numbers associated with variable phones:

phones <- c("+1 (123) 904 6517", "(212) 323 2218", " 2197338965", "329-293-8753 ", "595 794 7569", "+1 387 287 6718", "233.398.9187 ", "482 952 3315", "Work: 579-499-7527", "Home: 543.355.3679")

Please underscore the characters, if any, that match the pattern specified by the regular expression [Dd]onald( [Jj].)? [Tt]rump in the following sentences,

Hi, Donald j trump. Nice to meet you.

i bet i can spell better than you and donald( trump combined

I met with Donald J Trump yesterday

CNN reported that President Donald J. Trump visited the university yesterday

Carve your own Donald Trumpkin in time for Halloween

Another man is also called Donald Jj. Trump

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

What is environmental design?

Answered: 1 week ago

Question

8. Providing support during instruction.

Answered: 1 week ago