Build a RegEx Sandbox - Build a RegEx Sandbox

Tell us what’s happening:

Help me pass test 17 to 20. When I test the code, it gives expected results but it doesnt pass the test when i run!

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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36

Challenge Information:

Build a RegEx Sandbox - Build a RegEx Sandbox

Could you edit your post to include your full code please? It appears not to have ported over automatically when the post was created.

Paste your code between the sets of triple backticks(```), where indicated, to ensure that it displays correctly on the forum.