From 2766b70a2f2abf6a520b2de6fa54734e64dd9191 Mon Sep 17 00:00:00 2001 From: taurus05 <41040631+taurus05@users.noreply.github.com> Date: Sun, 2 Jun 2024 22:55:05 +0530 Subject: [PATCH] Update 12_day_regular_expressions.md Grammatical Typo --- 12_Day_Regular_expressions/12_day_regular_expressions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12_Day_Regular_expressions/12_day_regular_expressions.md b/12_Day_Regular_expressions/12_day_regular_expressions.md index ef838821f..e11a6b0db 100644 --- a/12_Day_Regular_expressions/12_day_regular_expressions.md +++ b/12_Day_Regular_expressions/12_day_regular_expressions.md @@ -168,7 +168,7 @@ console.log(result) *replace()*: Executes a search for a match in a string, and replaces the matched substring with a replacement substring. ```js -const txt = 'Python is the most beautiful language that a human begin has ever created.\ +const txt = 'Python is the most beautiful language that a human being has ever created.\ I recommend python for a first programming language' matchReplaced = txt.replace(/Python|python/, 'JavaScript')