Added regex matching for titles