diff --git a/12_Day_Regular_expressions/12_day_regular_expressions.md b/12_Day_Regular_expressions/12_day_regular_expressions.md index 99d85f0..c96d18b 100644 --- a/12_Day_Regular_expressions/12_day_regular_expressions.md +++ b/12_Day_Regular_expressions/12_day_regular_expressions.md @@ -25,7 +25,7 @@ - [Creating a pattern with RegExp Constructor](#creating-a-pattern-with-regexp-constructor) - [Creating a pattern without RegExp Constructor](#creating-a-pattern-without-regexp-constructor) - [RegExpp Object Methods](#regexpp-object-methods) - - [Testing for a match](#testing-for-a-match) + - [Testing for a match](#testing-for-a-match) - [Array containing all of the match](#array-containing-all-of-the-match) - [Replacing a substring](#replacing-a-substring) - [Square Bracket](#square-bracket) @@ -108,7 +108,7 @@ let regEx= new RegExp('love','gi') Let see some of RegExp methods -#### Testing for a match +#### Testing for a match *test()*:Tests for a match in a string. It returns true or false. @@ -517,7 +517,7 @@ distance = 12 [{word:'I', count:3}, {word:'teaching', count:2}, {word:'teacher', count:2}] ``` - +``` 🎉 CONGRATULATIONS ! 🎉