Find and replace regex in a loop in Python

Published --