Is regex ever more efficient than string functions in PHP?

Solution:

Since PHP is an interpreted script language, solving your problem using the least code possible is generally the most performing way of achieving what you want. And since regex is built-in, it should run much faster than any script despite of the complexities involved in its algorithm.

But naturally comparing both will depend on how complex it would be to mimic your regex in pure PHP code, so the answer to your question cannot be generalized. It will depend on each specific case.