Search Number of Matches

Tell us what’s happening:

let ohStr = “Ohhh no”;
let ohRegex = /Oh{3,6}\sno/i; // Change this line
let result = ohRegex.test(ohStr);

Your code so far


let ohStr = "Ohhh no";
let ohRegex = /Oh{3,6}\sno/i; // Change this line
let result = ohRegex.test(ohStr);

This is code is not working, i am using microsoft edge and i my google is not working to enable me use another browser to test same.
Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/regular-expressions/specify-upper-and-lower-number-of-matches/

Unfortunately Microsoft Edge is not compatible with FreeCodeCamp

The suggested browsers are google chrome or Firefox, linking to where you can download them below

Google Chrome > https://www.google.com/chrome/
Mozilla Firefox > https://www.mozilla.org/en-US/firefox/new/