Validating Input Email Address via regex

Hi Experts,
We have a requirement to validate Input email address for External Partners to be an email address from non-client domain.
Planning to validate the same using regex in 'Validation' tab of custom attribute 'Z_TEMP_EMAIL_EXT', mapped to the UI task used for External User ID creation.
Client has two email domains, namely '[email protected]' and '[email protected]'
I have arrived at below regex for validating the client domain; and attempts to ensure these are NOT input (negative condition) are not working.
Please suggest how to validate regex for NOT including these domains. 
(1) "^(.*)[\@](clientabc|xyzclient)[\.](com)"
(2) "^(.*)[\@](clientabc|xyzclient)[\.](.*)"
(3) "(\Qclientabc\E)|(\Qxyzclient\E)"
With Regards,
Ganesh.S

Hello Ganesh,
you want negative lookahead with alternation, like this:
.+@(?!clientabc\.com$|xyzclient\.com$).+
Please note, though, that the above regex does not provide any POSITIVE guarantee that the input is a valid SMTP address as specified by RFC2821.
It just provides a negative guarantee that the input is NOT an SMTP address from domains clientabc.com or xyzclient.com.
Best regards,
Lambert

Similar Messages

  • How do I use more than one email address via Thunderbird

    I have had only one AOL email address that I used via Thunderbird.
    I have now created another AOL email address for a specific reason.
    How do I start to use this new email address via Thunderbird?

    Hi christ1,
    Thanks for your interest and reply.
    The new email address belongs to a new account and is not an alias (is alias a link to an already existing email address?) I read about alias for first time yesterday.
    I would like to be able to access both my normal and my new email addresses via Thunderbird. Is there a "toggle between facility" or something like that. Simplest is best for me.
    Thanks again,
    Colin

  • Invalid Gift Unable to gift an item using iPhone 5s and iPad air, Error Message Invalid Gift.  You must enter a valid recipient email address.

    This has been going on for quite a while.  I am able to send/purchase gifts from my iMac however; when I attempt to purchase a gift on my iPhone 5s (iOS 7.0.4) or my iPad Air (iOS 7.0.4 ) i get the following error message:
    Invalid Gift
    You must enter a valid recipient email address.
    This happens no matter what email address I type in.   Once this message comes up you can only select "OK".   It never let's me finish my purchase.
    Any ideas?

    Hi there jphilyaw,
    You may find the information in the article below helpful.
    If you can't redeem your iTunes Gift Card or code
    http://support.apple.com/kb/HT6021
    -Griff W. 

  • Having talken the advice to use a bt email address via Yahoo, iPad telss me that the a/c may not be able t,o send or receive emails

    Having take the advice to use a BT email address via Yahoo, iPad tells me that the a/c may not be able to send or receive emails

    I set up a btinternet account by selecting Yahoo from the Add Account screen, and just had to fill in the name, email address, password and a description -  I got the same send and receive warning and I had to log into the account via a browser on the iPad to 'confirm' it on it, but it then worked (though I had to go back and re-enter the account's password).

  • Validate email address with regex

    All,
    I am trying to split and validate one/multiple email addresses like below. Ive got the split based on delimiter(, ) to work well but i cant get the validation to work using oracle REGEX
    examples:
    1.  "[email protected], [email protected], [email protected], [email protected],"
    2.  "[email protected]"
    3.  "[email protected],"
    So how can i validate the emails as described above?
    using oracle 11g rel.2
    thanks in advance...regards.

    Hi,
    Gor_Mahia wrote:
    All,
    I am trying to split and validate one/multiple email addresses like below. Ive got the split based on delimiter(, ) to work well but i cant get the validation to work using oracle REGEX
    examples:
    1.  "[email protected], [email protected], [email protected], [email protected],"
    2.  "[email protected]"
    3.  "[email protected],"
    So how can i validate the emails as described above?
    using oracle 11g rel.2
    thanks in advance...regards.
    You haven't described what you want.
    Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    Do you want an expression that tells whether a string is a valid e-mail address or not?  You might start by looking to see if the string is divided into 3 parts by an @ sign, and then by a dot, with at least 1 letter in each of the 3 parts. Here's one way to do that:
    REGEXP_LIKE ( email_addr
                , '[[:alpha:]].*@.*[[:alpha:]].*\..*[[:alpha:]]'
    If the expression above returns FALSE, you can be sure that that string is not a valid email address.

  • How do I save an email address via the ORDERS05 IDoc?

    I am creating sales orders via the ORDERS05 Idoc.  I am using the E1EDKA1 structure to add the "WE" Ship-To address to the order.  There is no field in E1EDKA1 named SMTP_ADDR.  I could put it in the Telebox (TELBX) field, which we're not using, but ultimately would like the email address to show up correctly in the ADR6 table in SAP.

    Thank you, that helped me a lot.  In my case, we are using the AFS version of SAP 46C.  The fm  J_4A_IDOC_INPUT_ORDERS  that we use is very similar to IDOC_INPUT_ORDERS.   Instead of CUSTOMER-FUNCTION '004',  I used CUSTOMER-FUNCTION '010'.   Since the telebox field in E1EDKA1 may be too short for an email address, I used the 70 char ILNNR field in E1EDKA1.   I used FM ADDR_SAVE_INTERN per your suggestion and it worked great!  If you'd like to see my code, send me an email: [email protected]

  • I am unable to email an image from camera roll. the image gets "stuck". cannot input email address or subject line. am unable to cancel and go back to camera roll

    i am unable to email images from my camera roll. the image gets "stuck". cannot insert email address or subject line. cannot cancel... return to camera roll.
    what to do. i tries taking new picture and sending it in an email... same thing... gets "stuck "
    Waht to do ?

    Hello lohmann8,
    Thank you for providing so much detail about the issue you are experiencing with emailing photos from the Camera Roll.
    The first thing I recommend is quitting and relaunching the applications on your iPhone:
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    You can find the full article here:
    iOS: Force an app to close
    http://support.apple.com/kb/ht5137
    If you are still seeing the same issue after quitting and relaunching the Photos and Camera app, I recommend restarting your phone and then resetting if it's still not working:
    Restarting your device
    Press and hold the Sleep/Wake button for a few seconds until the red "slide to power off" slider appears, and then slide the slider.
    Press and hold the Sleep/Wake button until the Apple logo appears.
    Note: Reset your device only if you are unable to restart it.
    Resetting your device
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    You can find the full article here:
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, the last thing I recommend is backing up and restoring your iPhone:
    iOS: How to back up and restore your content
    http://support.apple.com/kb/HT1766
    iTunes: Restoring iOS software
    http://support.apple.com/kb/HT1414
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I cannot update my aps because when I want to sign in I keep getting an old email address which is not registered anymore and does not match a password. Why do I not get my valid registered email address to sign in?

    I cannot update my aps because I keep getting an old invalid email address to sign in although I deleted it and replaced it months ago. It is not mentioned anymore in my account . So why does it still come up and interfere?

    Apps bought bought from that old Apple ID are forever tied to that Apple ID. So you need to login into that account to update that app.

  • Regular Expression item validation for email address

    Hi,
    Does anyone know of a regular expression I can use to validate an email address field? I am using Apex 3.2.
    Your help would be much appreciated.
    Thanks,
    ca84

    ^((\s*[a-zA-Z0-9\._%-]+@[a-zA-Z0-9\.-]+\.[a-zA-Z]{2,4}\s*[,;:]){1,100}?)?(\s*[a-zA-Z0-9\._%-]+@[a-zA-Z0-9\.-]+\.[a-zA-Z]{2,4})*$

  • Old ipod still link to my email address via my apple ID

    I sold my ipod touch before christmas when I bought my iphone. The person I sold it to gave it to there brother as they have moved to oz now his brother is using the email feature to email his friends and its still attached to my email address so i keep on getting there emails. I looked at my account on itunes and the ipod is not under my apple ID anymore and I cannot seem to find a way of removing it. Can some one please help as he has access to my email address and my emails if this is the case. Thanks in advance for your help.

    Change your password.
    Did you not restore the ipod before selling it?

  • Changing sender email address via rewriting rules

    My objective is to change my sender email address. For example, suppose my OCS email address is [email protected] and I would to send an email to [email protected]
    John logs into yahoo mail and would see my mail. Upon opening my email, I would like John to see that the sender email address to be [email protected] so that whenever John replies my mail, the replied mail would go to [email protected] and not to [email protected]
    I read the email admin guide and I configure the Sender rewriting rules within SMTP_OUT. I have key in the following within the Sender rewriting rules: $*@test.abc.com.my,$[email protected]
    I restart the SMTP_OUT services and I check the log files in MIDTIER_HOME/oes/log/um_system/SMTP_OUT/12345
    I found out that the rewriting rules have take effect on one of the lines.
    Then I log into OCS as user Andrew with test.abc.com.my domain and send an email to yahoo.
    I open my yahoo mail, which I receive the email.
    However the sender email address remains unchanged which is [email protected]
    How can I change the sender email domain?
    thanks;
    andrew

    Your observation is very correct in terms of symptoms, not of behaviour. We have numerous ER's there enabling header rewriting, too. Obviously for you, envelope rewriting works well, without to achieve the target you want to address. Please forward your request to Support Services with an Enhancement Request for native header rewriting.
    Otherwise 3 ways:
    1 Milter C-SDK
    2 Milter general
    3 relay accomplishing this task.
    On 2,3 we have samples ready, for 3 in particular for postfix.

  • What is the criteria for a "valid eprint email address"

    Criteria for a vaid eprint email address

    Dossr,
    Welcome to the HP Forum!
    The custome eprint address must be connected to an actual ePrint account and printer.
    The address shall be in the form of  [email protected]
    Examples: 
    [email protected]
    [email protected]
    The following explains and tells you how to set up your custom email address for your ePrint:
    Eprint – Help and Tips – Getting Started
    When the page opens:
    Getting Started »
    Getting Started with ePrintCenter >>Select:  What is a custom email and how do I set it up?
    Dragon Tip
    Be sure you also set up a restricted list of users that are allowed to send to your ePrint email address.  If you do not do this, your printer may be e-spammed!
    Eprint – Help and Tips – Getting Started >>  
    HP ePrint >>
    Click on Managing ePrint Security >>  Select How can I restrict who uses ePrint on my printer?
    Good Luck!
    Click the Kudos Star! 
    It is a great “Thank You” for the Author's efforts.
    Kind Regards,
    Dragon-Fur

  • Can I purchase a iTunes gift certificate to send to an email address via the iTunes app and not via the desktop?

    It would be super convenient to be able to purchase the gift certificate via email option from the iPhone using the iTunes app or even the Apple Store app so the recipient receives immediately but I don't see that this is possible.  I also can't see my purchase history without logging into the computer. This seems super odd for apple not to provide all options from the iPhone directly so I must be overlooking something. At this time of the year and with the economy as bad as it is, I'm not too keen to send gift cards in the mail!
    Thanks much for the help.

    mandyfar wrote:
    I got a gift card that says "Itunes"on it and not "apple"or something like that...
    I was wondering if that gift card can only be used on the itunes store, meaning I can only buy songs, tv shows, music videos , etc.. ...
    That is Correct...
    iTunes Gift Options
    http://support.apple.com/kb/HT2736

  • How to input email addresses in numbers?

    some are blue and i can use them to send an email, others are black and i cannot click them to send an email?

    Unnamed Table
    Bart
    van de Ven
    Robert
    Bot
    Robert
    Hakkert
    maarten
    verschuren
    Brian
    Kasto
    <Edited By Host>

  • TS3988 my user name (email address) is no longer a valid email address.  How do I get around the verification stage or change my username to be my current email address?

    How can I change my user-name for ITunes?  My user name was my old work email address and is no longer valid. When I try to create an iCloud account, I am having trouble due to the fact that the username is not a good email address.

    How are you trying to do it ? You can change the rescue email address on your account by, from http://support.apple.com/kb/HT5312 :
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    After you've validated your identity by correctly answering your security questions, click Edit to the right of your rescue email address.
    Once you've finished editing your rescue email address, click the Save button directly below the email field.
    You can then try using your current rescue email address as your primary email address - you may need to log out of that page and back in. Or you can then try changing the primary email address via the Store > View Account menu option on your computer's iTunes
    If you have an iPhone, iPad and/or iPod Touch you may then need to log out of your account on them by tapping on it in Settings > iTunes & App Store and log back in for the account to be 'refreshed' on it.

Maybe you are looking for

  • Top Of Page not triggering in ALV

    Hi I am using ALV List Disaply. I have a itab that has 2000 Rows. When i scoll down, the header appears at the top always. Now i added the following code to trigger a Top of Page Event. FORM xevents.   CLEAR xs_event.   xs_event-name = slis_ev_top_of

  • Manual Price change issue

    Hi experts,    I am changing the Sales Pricing of a Project *****,by entering manual entry and updated by using the pricing type 'C'.It is working fine.But my requirement is to get the changed price to be reflected in Billing request for resource rel

  • PHP MySQL Error Code 500

    May be someone can help me out with this problem. I have setup a new site using PHP MySQL and Dreamweaver 8.02. Dreamweaver connects to the database but after creating a recordset the recordset cannot be used. instead Dreamweaver returns: HTTP Error

  • Re: SQL Developer Problems and Feature Requests

    "no ocijdbc10 in java.library.path"... What should i do with it? I get it on the simplest of operations: changing (in fact setting) the connection password for the existing connection (defined by TNS/Connect Identifier). Oh, yes, there're workarounds

  • OAS_4.0.8.2.0a-java problems

    Hi, I'm trying to get OAS installed prior to installing portal-to-go and have found various problems. I have managed to install the server to the point where it tells me to run "owsctl start -nodemgr". until just recently it complained that it needed