2024-04-17
Regular expressions are not necessary all the time
stringr
functions are handy
str_view()
vs str_view_all()
Step 3: Any time you see the word “ugh”, with any number of h’s, followed by a punctuation mark, delete this.
Step 4: Replace all instances of exactly 2 a’s with exactly 2 e’s.
Step 6 Every word that ends in b, change that to a y. Hint: punctuation!
By the end of step 7, you should see individual words that make sense.