Jump to content

Archived

This topic is now archived and is closed to further replies.

redarrow

ereg email code example please thank you.

Recommended Posts

Hi all iam currently learnig regular exspressions, Can some one kindly post the code for a ereg email exspression and exsplain it so i can study it cheers.

example

[code]

me@somethink.com

"^[A-Z a-z](@)[A-z a-z].()[A-Z a-z]$"

[/code]

^ = At beginig
[A-Z a-z] large and small letters
(@) = letter @
[A-Z a-z] large and small letters
. = wild card
() letters for wild card
[A-Z a-z] large and small letters
$ = end of letters


This is for email in ereg format me@somthink.com

Share this post


Link to post
Share on other sites
You can find lots of differnt ones at:
[a href=\"http://www.regexlib.net\" target=\"_blank\"]http://www.regexlib.net[/a]

Very nice site:
[a href=\"http://www.regular-expressions.info\" target=\"_blank\"]http://www.regular-expressions.info[/a]

Great program and worth the $30 USD price:
[a href=\"http://regexbuddy.com\" target=\"_blank\"]http://regexbuddy.com[/a]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.