diff --git a/client/src/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-characters-that-occur-one-or-more-times/index.md b/client/src/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-characters-that-occur-one-or-more-times/index.md index 6a60378b967..01946c2bd50 100644 --- a/client/src/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-characters-that-occur-one-or-more-times/index.md +++ b/client/src/guide/english/certifications/javascript-algorithms-and-data-structures/regular-expressions/match-characters-that-occur-one-or-more-times/index.md @@ -1,12 +1,13 @@ ---- -title: Match Characters that Occur One or More Times ---- + ## Match Characters that Occur One or More Times - ## the problem: + ## Problem: You want to find matches when the letter s occurs one or more times in "Mississippi". Write a regex that uses the + sign. - ## the solution + + ## Solution: +```js let difficultSpelling = "Mississippi"; let myRegex = /s+/g; // this is the solution let result = difficultSpelling.match(myRegex); +```