Email Ripper

Ruquay's Email Regexp:

%[\w`~!#$\%^&*'\-_+={}|/?]+(\.[\w`~!#$\%^&*'\-_+={}|/?]+)*@([a-z0-9]+(\-*[a-z0-9]+)*\.)+[a-z]{2,6}%i



In the great pursuit to master regular expression syntax (a silly, dangerous, and passion-inciting adventure), I have finally crafted an algorithm that should grab as many valid email addresses from gobbledy-gooky text that contains those precious gems.

As a favor to anyone who happens upon this, I have provided the regexp. Though a bit omplex, it does succeed in discarding invalid emails and finding emails smashed in crazy text soup.