This article shows how I have used regex in real life for all sorts of tasks.
You didn't ask, but let me tell you I learned a lot of maths over at KhanAcademy.