This will replace all occurrences. import re # multiline string string = 'abc 12\ de 23 \n f45 6' # matches all ...
確定! 回上一頁