Re: plpgsql function to validate e-mail

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Andre Lopes <lopes80andre(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: plpgsql function to validate e-mail
Date: 2009-08-16 20:17:15
Message-ID: 4A88694B.2010303@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 16/08/2009 21:10, Andre Lopes wrote:
> I need a plpgsql function to validade e-mail addresses. I have google
> but I can't find any.
>
> My question: Anyone have a function to validate e-mails?

There are lots of regular expressions which Google will find for you,
which you can then use with one of the built-in functions and operators
that can use them.

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stuart McGraw 2009-08-16 20:59:06 8.4 rpm packaging problem?
Previous Message Andre Lopes 2009-08-16 20:10:20 plpgsql function to validate e-mail