[UA-discuss] [UA-EAI] Regular Expression To Validate EAI Addresses

Abdalmonem Tharwat Galila agalila at mcit.gov.eg
Fri Aug 14 16:02:45 UTC 2020


Thanks Mark, I tried the regex below but it came with similar results, so could we have his idea behind this  change as there may be some patterns have to considered for our future considerations !!

Thanks a lot.

All the Best,
Abdalmonem Tharwat Galila
Deputy Manager, Dot Masr Registry,
Operation Sector.

[NTRA Logo 2016]
National Telecommunication Regulatory Authority
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: 1365523405_telephone]   Office Tel.: +2 02 35341582<tel:02%2035341582> - +2 02 35341300<tel:02%2035341300>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Mobile]    Mobile:  +2 010 00049068<tel:010%2000049068>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: ICON]   Fax       :  +2 02 35370537<tel:02%2035370537>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: oNLINE]  Website : http:\\www.mcit.gov.eg<http://www.mcit.gov.eg/>
                        : http:\\www.tra.gov.eg<http://www.mcit.gov.eg/>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: 1365523294_email]   E-mail     : agalila at mcit.gov.eg<mailto:agalila at mcit.gov.eg>
                        : atharwat at tra.gov.eg<mailto:atharwat at tra.gov.eg>
[Description: 1447802547_skype]  Skype      : abdalmonem.galila
[Description: static_qr_code_without_logo]
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: 1365523469_error]DISCLAIMER
          This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or  entity to which they are addressed. If you have received this email in error please notify your system support manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the National Telecom Regulatory Authority (NTRA) .  Finally, the recipient should check this email and any attachments for the presence of viruses. The NTRA accepts no liability for any damage caused by any virus transmitted by this email.

From: UA-EAI <ua-eai-bounces at icann.org> On Behalf Of Mark W. Datysgeld
Sent: Friday, August 14, 2020 05:56 PM
To: ua-discuss at icann.org; Abdelmeniem Tharwat <atharwat at tra.gov.eg>; uaeai <ua-eai at icann.org>; ua <ua-discuss at icann.org>; TF-AIDN (tf-aidn at meswg.org) <tf-aidn at meswg.org>
Cc: savyovm at gmail.com
Subject: Re: [UA-EAI] [UA-discuss] Regular Expression To Validate EAI Addresses

Abdel, thank you greatly for this.

One of the coders at Governance Primer has been studying that code since you showed it on the EAI call, and came up witht he following variant:

^(([\p{L}.%+-]+@[\p{L}.-]+\.[\p{L}]{2,})|([\p{L}]{2,}\.[\p{L}.-]+@[\p{L}.%+-]+))$<mailto:+@[\p%7bL%7d.-%5d+\.%5b\p%7bL%7d%5d%7b2,%7d)|(%5b\p%7bL%7d%5d%7b2,%7d\.%5b\p%7bL%7d.-%5d+@%5b\p%7bL%7d.%25+-%5d+))$>

What do you think about this one?

Regards,
--
Mark W. Datysgeld from Governance Primer [www.markwd.website]
In partnership with AR-TARC and the Brazilian Association of Software Companies (ABES)
On August 14, 2020 12:32:24 PM GMT-03:00, Abdelmeniem Tharwat <atharwat at tra.gov.eg<mailto:atharwat at tra.gov.eg>> wrote:
Dear colleagues,
                I hope that you are doing well, since along time I tried to use regex to validate EAI addresses for many project I have related to UA, I used the tool here<https://rubular.com/> and used this
Regex “^[\p{L}.%+-]+@[\p{L}.-]+\.[\p{L}]{2,}$<mailto:+@[\p%7bL%7d.-%5d+\.%5b\p%7bL%7d%5d%7b2,%7d$>” to validate some EAI addresses and it works well like the below screenshot.

[cid:image010.png at 01D67260.F5721690]


Thanks a lot.

All the Best,
Abdalmonem Tharwat Galila
Deputy Manager, Dot Masr Registry,
Operation Sector.

[NTRA Logo 2016]
National Telecommunication Regulatory Authority
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: 1365523405_telephone]   Office Tel.: +2 02 35341582<tel:02%2035341582> - +2 02 35341300<tel:02%2035341300>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: Mobile]    Mobile:  +2 010 00049068<tel:010%2000049068>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: ICON]   Fax       :  +2 02 35370537<tel:02%2035370537>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: oNLINE]  Website : http:\\www.mcit.gov.eg<http://www.mcit.gov.eg/>
                        : http:\\www.tra.gov.eg<http://www.mcit.gov.eg/>
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: 1365523294_email]   E-mail     : agalila at mcit.gov.eg<mailto:agalila at mcit.gov.eg>
                        : atharwat at tra.gov.eg<mailto:atharwat at tra.gov.eg>
[Description: 1447802547_skype]  Skype      : abdalmonem.galila
[Description: static_qr_code_without_logo]
[Description: Description: Description: Description: Description: Description: Description: Description: Description: Description: 1365523469_error]DISCLAIMER
          This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or  entity to which they are addressed. If you have received this email in error please notify your system support manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the National Telecom Regulatory Authority (NTRA) .  Finally, the recipient should check this email and any attachments for the presence of viruses. The NTRA accepts no liability for any damage caused by any virus transmitted by this email.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 114591 bytes
Desc: not available
URL: <http://mm.icann.org/pipermail/ua-discuss/attachments/20200814/cf86370f/winmail.dat>


More information about the UA-discuss mailing list