added regex for img tag