Build a RegEx Sandbox - Build a RegEx Sandbox

Tell us what’s happening:

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

Challenge Information:

Build a RegEx Sandbox - Build a RegEx Sandbox

GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/lab-regex-sandbox/66e028680eca7d21db7e1aee.md at main · freeCodeCamp/freeCodeCamp · GitHub

Hi @karhale51,

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:

Working with Regular Expressions - What Are Regular Expressions, and What Are Some Common Methods? | Learn | freeCodeCamp.org

You may want to review those and turn on the “Interactive Editor” so you can practice.

Happy coding