RegEx is just a tool. Sometimes the wrong one, sometimes the right -- but you need to know enough about it to know when is which.
Tying into another thread -- you can disable/enable a single KM action with:

...but doing the same for multiple actions is going to be a lot more work, since the menu item changes with the number of actions selected:

...and you'll have to include an explicit action for every potential number.
How much easier with a regex! One action is all you need:

And we shouldn't be surprised that questions requesting help with regex come from people less experienced with regex and so are less able to judge when and when not to use regex...
While not a (knowing) user of LLMs myself (yet, but it's on the list of things to do!) I would think generating regex is a pretty solid use for them since there's a well-defined and relatively simple set of rules plus a metric shedload of scraped data in the LLMs training. And any answer is easy to test empirically, or "decode" in something like regex101.
And perhaps that's a good use of LLMs -- using them to give you a leg up on a problem, getting an answer that (even if it isn't right) you can learn from and iterate on.