diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-more-than-the-first-match.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-more-than-the-first-match.english.md index 7cd9d22b51..782e12116b 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-more-than-the-first-match.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/regular-expressions/find-more-than-the-first-match.english.md @@ -57,6 +57,8 @@ let result = twinkleStar; // Change this line
```js -// solution required +let twinkleStar = "Twinkle, twinkle, little star"; +let starRegex = /twinkle/gi; +let result = twinkleStar.match(starRegex); ```