Hello all,

Check out the following link:

http://montreal.pm.org/tech/neil_kandalgaonkar.shtml.

Though, the author has included an example, yet I have trouble following it. I mean I couldn't figure out the working of that particular regex through the provided example.

Can someone please help me in getting the logic?

Thank you.