BBEdit used to be my text-transformation tool.
Happily paid for every update for years, even when I used Emacs, I kept BBedit in reach. For quick text edits/transformations (because Regex in Emacs is hard to use). But with LLMs + nvim I hardly start bbedit anymore.
So now with LLMs, I tell them what I need and they write a shell/Perl/Python script to make the craziest transformations.