diff --git a/02_Day_Data_types/02_day_data_types.md b/02_Day_Data_types/02_day_data_types.md index e27d43d7e..4d85c035e 100644 --- a/02_Day_Data_types/02_day_data_types.md +++ b/02_Day_Data_types/02_day_data_types.md @@ -766,7 +766,7 @@ console.log(string.match(pattern)) // ["love", "love", "love"] Let us extract numbers from text using a regular expression. This is not the regular expression section, do not panic! We will cover regular expressions later on. ```js -let txt = 'In 2019, I ran 30 Days of Python. Now, in 2020 I am super exited to start this challenge' +let txt = 'In 2019, I ran 30 Days of Python. Now, in 2020 I am super excited to start this challenge' let regEx = /\d+/ // d with escape character means d not a normal d instead acts a digit