- Ctrl + H
- Encontre o que:
"[^";]*\K;(?=[^";]*")
- Substituir por:
_
- check Embrulhe
- verificar expressão regular
- Substituir todos
Explicação:
" : a double quote
[^";]* : 0 or more any character that is not a double quote or a semicolumn
\K : forget all we have seen until this position
; : a semicolumn
(?= : start lookahead, make sure we have, after current position,
[^";]* : 0 or more any character that is not a double quote or a semicolumn
" : a double quote
) : ed lookahead
Substituição:
_ : an underscore
Resultado para o exemplo dado:
Fieldtitles: f1;f2;f3;f4;f5;f6;f7;f8;f9;f10;f11
Dataset1: ;;text;text;;text;text;text;text;text;text
Dataset2: text;"text text text _ text text";text;text;text;text;text;text;text;text;text