There are some interesting recipes in this thread.
Cheers,
JohnGG
In reply to Re: Regexp doubts by johngg in thread Regexp doubts by Anonymous Monk