RegExp fix + title and alt for preview