A flexible tool to make complex replacements with regular expression