Earlier quoted context omitted.
This is too hot a take. Regular expressions are used in some cases where they shouldn’t be, yes, but there’s also been a ton of code which used other string operations but had bugs due to the complexity or edge-cases which would have been easier to avoid with a regex. You should know both tools and when they’re appropriate.
Regex is not used for parsing HTML or C++ code. So it is not good for complex tasks. What is the claim? That it is compact for simple cases. Well Brainfuck is a compact programming language but I don't see it in production. Why? Because the whole point of programming is that multiple eyeballs of different competence are looking at the same code. It has to be as legible as possible.
Again, this is too binary a way if thinking. There are string matching operations which are not parsing source code and regular expressions can be a concise choice there. I’ve had cases where someone wrote multiple pages of convoluted logic trying to validate things where the regular expression was not only much easier to read but also correct because while someone was writing the third else-if block they missed a detail.