Changed regex to apply on marked HTML