Strip all emails and replace with the given rep_str.
out_str = text_stripemail(in_str [,rep_str]);
Input string
Replacement string
Output string
Look for strings of emails and replace it with another common name, by default, "emailaddr".
in_str = 'Our website address is tina@bytecode-asia.com'; out_str = text_stripemail(in_str); disp(out_str); | ![]() | ![]() |
Andrew Ng, Machine Learning Online Course, Week 6 notes and assignment: https://www.coursera.org/learn/machine-learning