Regular expressions play a major part of any programmer or a computer science student. I had Theory of Computation last semester and I still have no idea what I learnt or was supposed to learn. But there was one topic that I loved. It was regular expressions. Here is a nice tutorial which shows beginners what is regular expressions and shows the real power of it. It has easy to understand examples which highlights the matched text according to the pattern.