Build a RegEx lab requires the use of RegExp constructor. The problem is that this constructor is not taught in the curriculum before this lab. I don’t know how to use this constructor.
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:152.0) Gecko/20100101 Firefox/152.0
You don’t need to create a RegEx object to do this lab. You just need a regular expression pattern. And just before this lab, there are several theory lectures that explain how to use regular expression patterns starting with this one: