# remove sensitive information like name, email, phone no from text
# remove sensitive information like name, email, phone no from text
import scrubadub
# My cat may be more tech-savvy than most, but he doesn't want other people to know it.
text = "My cat can be contacted on [email protected], or 1800 555-5555"
# Replaces the phone number and email addresse with anonymous IDs.
scrubadub.clean(text)
'My cat can be contacted on {{EMAIL}}, or {{PHONE}}'