Adding regex conent escaping