Added replace regex for special html characters