Search and replace text with support for regular expressions.
Find and replace text with optional regular expression support. Supports case-insensitive matching, replace all or first occurrence, and regex capture groups in replacement ($1, $2, etc.).