Pooja Dhelia

Pooja Dhelia

  • NA
  • 15
  • 1.2k

Regex Questions

Jun 17 2017 3:00 AM
You write the following method (line numbers are included for reference only):
Practice Test Microsoft - 70-483
199 of 318
A.
B.
C.
D.
You need to ensure that the method extracts a list of URLs that match the following pattern:
@http://(www\.)?([^\.]+)\.com;
Which code should you insert at line 07?
 
Option A
Option B
Option C
Option D
 
 According to me Option B is the correct answer but not sure about it.So please suggest ?

Answers (2)