Update 12_day_regular_expressions.md

pull/252/head
ReiiNoki 4 years ago committed by GitHub
parent 97f84bf65f
commit b742e16eda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -505,11 +505,12 @@ distance = 12
sentence = `%I $am@% a %tea@cher%, &and& I lo%#ve %tea@ching%;. There $is nothing; &as& mo@re rewarding as educa@ting &and& @emp%o@wering peo@ple. ;I found tea@ching m%o@re interesting tha@n any other %jo@bs. %Do@es thi%s mo@tivate yo@u to be a tea@cher!?`
console.log(cleanText(sentence))
```
```
```sh
I am a teacher and I love teaching There is nothing as more rewarding as educating and empowering people I found teaching more interesting than any other jobs Does this motivate you to be a teacher
```
```
1. Write a function which find the most frequent words. After cleaning, count three most frequent words in the string.
```js

Loading…
Cancel
Save