Answers for "# remove sensitive information like name, email, phone no from text"

0

# 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}}'
Posted by: Guest on May-02-2022

Code answers related to "# remove sensitive information like name, email, phone no from text"

Python Answers by Framework

Browse Popular Code Answers by Language