Otto,
some more useful informations You can find here :
( a very good description about the Email-structure )
( A German Website )
http://aktuell.de.selfhtml.org/artikel/ ... /index.htm
Regards
Uwe
Valid email address
Re: Valid email address
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
Re: Valid email address
Possible useful resource for those who wish to do validation using regular expression - http://www.regular-expressions.info/email.html
FWH 11.08/FWH 19.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
Re: Valid email address
Hi to all,
I'm using regular expressions!
Here is the sample code from the xharbour.com help file:
I'm using regular expressions!
Here is the sample code from the xharbour.com help file:
Code: Select all
// The example extracts an eMail address from a text string.
// The search is case insensitive although the RegEx defines
// character classes only with upper case letters.
PROCEDURE Main
LOCAL cRegEx := "[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}"
LOCAL cText := "Send your request to info@xharbour.com " + ;
"for more information"
LOCAL cEmail, nStart, nLen
cEmail := HB_AtX( cRegEx, cText, .F., @nStart, @nLen )
? cEmail // result: info@xharbour.com
? nStart // result: 22
? nLen // result: 17
RETURN