Jump to content


Photo

ereg email code example please thank you.


  • Please log in to reply
1 reply to this topic

#1 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 03 April 2006 - 06:06 PM

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


me@somethink.com

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


^ = 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
Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#2 toplay

toplay
  • Staff Alumni
  • Advanced Member
  • 973 posts

Posted 03 April 2006 - 07:23 PM

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]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users