Jump to content

ereg email code example please thank you.


redarrow

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
Link to comment
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]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.