Answer to Question #174246 in Python for Faith

Question #174246
  • Which of the following is the correct regular expression to extract all the phone numbers from the following chunk of text:
  • 'Office of Research Administration: (734) 647-6333 | 4325 North Quad
  • Office of Budget and Financial Administration: (734) 647-8044 | 309 Maynard, Suite 205
  • Health Informatics Program: (734) 763-2285 | 333 Maynard, Suite 500
  • Office of the Dean: (734) 647-3576 | 4322 North Quad
  • UMSI Engagement Center: (734) 763-1251 | 777 North University
  • Faculty Adminstrative Support Staff: (734) 764-9376 | 4322 North Quad'
  • [(]\d{3}[)]\d{3}[-]\d{4}
  • [(]\d{3}[)]\s\d{3}[-]\d{4}
  • \d{3}\s\d{3}[-]\d{4}
  • \d{3}[-]\d{3}[-]\d{4}
1
Expert's answer
2021-03-22T04:12:46-0400

Correct Answer is: [(]\d{3}[)]\s\d{3}[-]\d{4}



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS