Build, test, and debug regular expressions
Extracts product titles from Amazon product page HTML by locating the nested divs with ids 'title_feature_div' and 'titleSection', then capturing the text inside the span with id 'productTitle'. Uses lazy [\s\S]*? matching to handle multi-line and messy HTML, trimming surrounding whitespace from the captured title. Commonly used in web scraping, price monitoring, and e-commerce data extraction pipelines targeting Amazon pages.