Regular Expressions Cookbook
Detailed Solutions in Eight Programming Languages