replace using regex javascript 33 Replace Using Regex Javascript Create a 'uniqueWords' function that accepts a string 'str' and returns an array of all the unique words in… Written By Trenton V. Williamson Wednesday, April 24, 2019 Add Comment Edit