Question: Write a statement to display the month from the regular expression match in result. Note: The given date is in day, month, year order. 1

Write a statement to display the month from the regular expression match in result. Note: The given date is in day, month, year order. 1 var re = /(\d+) VC\d+V(\d+/; 2 var date = "17/8/2012"; // Code will also be tested with value "8/11/92" 3 var result = re.exec(date); 5 /* Your solution goes here */ 1 Check Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
