modify regexreplacement