|
On 12/4/20 9:21 AM, Timothy Feldmeier wrote:
I have a screen for the user to enter email addresses. Sometimes they
enter a typo. It would be nice to have an API, instead of writing
code for the validation of an email address.
Are you looking to check the format of the email or the validity of the address?
There's a regex on my blog post about using REGEX in RPG (https://www.geekyramblings.net/2020/05/16/regex-in-rpg/) that is supposed to validate email addresses ... but I've never used it.
There are also web services available that are supposed to validate email addresses.
david
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.