My regex isn't great, and I'm struggling here. I need regex to get title from these 2 formats:
http://domain.com/blog/title
http://secure.com/domainkey/blog/title
but not match anything from (where subfolders could be multiple):
http://domain.com/images/blog/imagename
http://domain.com/images/subfolders/blog/imagename
http://secure.com/domain/images/blog/imagename
http://secure.com/domain/images/subfolders/blog/imagename
Any ideas? Thanks.