Key takeaways
- I need to make sure my data is in a consistent format before I can work on it without introducing lots of errors.
- In the future I want to learn more about AI and working with unstructured data.
Sample Code
Email Extractor
email = r"[\w\.-]+@[\w\.-]+\...."
str = "Copy text here that includes things like student@byu.edu and spammer@yahoo.com."
match = re.findall(email, str)
if match:
print(match)
Score
10/10
No comments:
Post a Comment