Def info_update (doc, old_info new_info) :
For para in doc. Paragraphs: # replace all text in a document
For the run in para. Runs:
Run. Text=run. Text. Replace (old_info new_info)
For the table in doc. Tables: # replace the contents of the document form
For a row in the table. Rows:
For a cell in a row. Cells:
Cell. The text=cell. The text. The replace (old_info new_info)