Mixed Messages Project - Random Sentences

In general, this was pretty easy but I wanted to figure out how to do a find/replace for more than one item in a string. I had to create a regular expression from a variable using the RegEx constructor and use a global flag… none of which I knew how to do before I started so that’s good!

I think this took me 2 hours with most of it spent trying to figure out how to do the find/replace function.