**Tell us what’s happening:**

i don’t understand how to use the quantity specifiers.from what i understand is that if **/x{2,4}/** then **test(**) will return true if the string is “aabbxx” or “axx” or “xx” or “xxxx”.

similarly if **/oh{1,2}/** then test() is true for “oh” or “ohoh” or “aoh” or “ohho” but false for “ab” or “oahb” or “hoab”

i don’t understand in **/x{2,4}y/** …what is **y** used for?

is my understanding right?..and how to approach this problem …my code is not working

**Your code so far**

```
let ohStr = "Ohhh no";
let ohRegex = /h{3,6}\s/; // Change this line
let result = ohRegex.test(ohStr);
```

**Your browser information:**

User Agent is: `Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0`

.

**Link to the challenge:**

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