ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

0
Date Submitted Wed. Mar. 3rd, 2010 11:05 AM
Revision 1
Beginner wizard04
Tags Email | mailto | Parse | regex | URI | URL | validation
Comments 0 comments
(Supported by JavaScript, maybe other languages)
2
Date Submitted Thu. Feb. 28th, 2008 4:10 PM
Revision 1
Helper inxilpro
Tags "Regular | Expression" | regex | RegExp
Comments 1 comments
This is as close to a perfect URL regular expression as I've come. It's based on RFC 3986.

A few caveats:

It only accepts http/https/ftp URLs by design, but you could change that to accept any valid URI pretty easily.

It doesn't support IP-based URLs or authenticated URLs. This is also by design, but you could change that with a little work.
7
Date Submitted Tue. Sep. 4th, 2007 10:24 PM
Revision 1
Helper explode
Tags Email | PHP | regex | Validate
Comments 1 comments
This is a simple function to check if an email is valid or not.
4
Date Submitted Tue. Oct. 10th, 2006 12:39 PM
Revision 1
Beginner robert
Tags blurb | Email | Gmail | message | regex
Comments 1 comments
This perl subroutine uses the CPAN module Mail::Webmail::Gmail to iterate through a Gmail account searching for a particular string. If a match is found, the sender's name along with his/her email address, the subject, and the "blurb" is printed to standard out. Also, all messages found will be archived automatically within Gmail to clear the message from the inbox folder. The subroutine returns the number of messages found back to the calling environment.

Sample invocation: check_email(username, password);

By default, the subroutine will use encryption to connect to Gmail however, by setting encrypt_session to '0' will disable encryption.