Skip to Content
author's profile photo Former Member
Former Member

Cleansing E-mail address

Hi,

How we can cleanse email address in vendor data ( it should be in name@domain.com or name@domain.co.in format).

Any suggestions/Ideas?

Regards

Krishna Mohan

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 25, 2016 at 12:37 PM

    Hi Krishna mohan,

    If my understanding is correct, you want only the records that have valid email address that ends with .com or .co.in

    If this is the case use

    substr(<email>,-1,4) = '.com' or substr( ,-1,6) = '. co.in'

    Thanks,

    Ravi kiran.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 26, 2016 at 07:58 AM

    Hi Krishna,

    I would you suggest using match_regex function in DS.

    Refer the reference guide for more details.

    Even I gotta a thread related to email validation in IS here, Information Steward Email Validation | SCN

    It refers to the use of this function.

    Hope that helps !

    Regards - Santosh G.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.