Skip to content
Advertisement

Tag: multiline

python re.sub newline multiline dotall

I have this CSV with the next lines written on it (please note the newline /n): I am trying to delete all that commas and putting the address one row up. Thus, on Python I am using this: As far as I know, re.multiline and re.dotall are necessary to fulfill /n needs. I am using re.compile because it is the

Advertisement