Node.JS Developer Assessment Your Name(Required) Your Email(Required) 1. Write a regular expression to retrieve just the dates from this string:(Required)const myString = "Yesterday was 5/11/2023. Before, on 9/1/18, another event took place. And on 12/9/1993, I saw a cat"; // Fill in this regular expression: const myRegex = // Log the matches to the console:2. Write a line of javascript, using a query selector, to collect the text of this question and log it to the console.(Required)3. Explain what this Query Selector is doing:(Required)Array.from(document.querySelectorAll(‘.result-item .details .a’)).map(a => a.href)4. Explain how you could scrape data from an iframe.(Required)Please include sample code.5. Puppeteer simulates clicks the same way a user would click, essentially positioning the mouse and “clicking”. Write Javascript code to solve this problem:(Required)A hovering pop-up with HTML class “subscribe-ad” is over top of a button with HTML id “next-button” that we need to click using Puppeteer.