pattern: ("[^"]*);([^"]*") replacement: \1[_sep_]\2 Result: This is a CSV Text column;"This one is enclosed and contains a ; along with other text. The problem starts now[_sep_] only the last one will be replaced" // I want every ; inside the doublequotes to be replaced but it only works for the last one