Learn how to find text patterns and replace them with dynamic content using regex.
As seen on Cookie Clicker's News Ticker.