Quote:
Originally Posted by flinkdeldinky
Anybody got good grep out there?
|
Try this:
Code:
(?P<isbn>\d+\w)\.(?P<publisher>\w+\.\w+\.\w+)\.(?P<title>.*)\.(?P<published>\w\w\w\.\d+)
It assumes three character month abbreviations. It doesn't remove periods, except between fields. It assumes three word publisher names.