Share your repls and programming experiences

← Back to all posts
Crappy regex for detecting email addresses
personmandude (3)

This is a quick, terrible regex thing I made in python to test it out. The commented one makes no sense at all (typing in gOOGOOGOOGlhe67 would match). The one that is not commented out detects email addresses... kind of. Any text that follows <string of letters>@<string of letters>.<3 letter domain thingy> will work. At least I have the format down I guess. Anyway, enjoy I guess