Find & Replace

Literal or regex replacement with configurable flags.

Literal mode replaces all matches globally; regex mode follows String.replace—mind escaping and flags (common: g, i, m).