modify match regular expression with string