Finds specific text patterns (strings) within a larger text and replace them with other text or patterns using regular expressions (regex).