Find Last Occurrence of Regex Word
<p>How can I find the last occurrence of a word with word boundaries? I created a regex expression of <code>/\btotal\b/</code> for the word. How would I use search() to find the last occurrence  of this expression? Thanks in advance for the help!</p>