I\'m trying to find the exact word from the sentence. Everything is working except any word with having the "$" sign. here is my code
let str1 = "T