In this example, all four-digit Numbers in the document are replaced with the placeholder "[NUMBER]". This is useful for masking sensitive data, normalizing content, or anonymizing documents....match dynamic content such as numbers, dates, or formatted strings...replace_text ( r "\d {4} " , "[NUMBER]" ) # Save updated document...