Programmer: "We can do that in a regex one-liner!"
Three hours, half of Stack Overflow, and fifty linefeeds later, we have a single working regex. If I wanted to print the "one liner" I would have to order more ink.
But it works.
Until someone throws an unusual UTF-8 character into the regex, and its greedy matching ends up eating the neighborhood pets.