why dont you use regular expression for perfectly validating an email id ?

here is an example

SELECT  email_address
  2       ,  
regexp_substr(email_address,'[a-zA-Z0-9._%-]+@[a-zA-Z0-9._%-]+\.[a-zA-Z]{2,4}')
substr_result

  3    FROM  email
  4  /

EMAIL_ADDRESS                            SUBSTR_RESULT
---------------------------------------- ------------------------------
[email protected]                           [email protected]

[email protected]                             [email protected]

[email protected]                     [email protected]

bad_address@missing_domaindotorg



On Thu, Sep 29, 2011 at 4:22 PM, PUNEET <[email protected]> wrote:

> how to validate @ symbal in an email in D2k or in Plsql.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Oracle PL/SQL" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/Oracle-PLSQL?hl=en
>



-- 
Gopakumar P.G.

-- 
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply via email to