Regex problem Email test

adt90

New Member
i have some problem with pattern bellow:\[code\]/([A-Z0-9]+[A-Z0-9\.\_\+\-]*){3,64}@(([A-Z0-9]+([-][A-Z0-9])*){2,}\.)+([A-Z0-9]+([-][A-Z0-9])*){2,}/i\[/code\]It match email addresses and i have problem with this rule:\[code\][A-Z0-9\.\_\+\-]*\[/code\]If i remove the star it works but i want this characters to be 0 or more. I tested it on http://regexpal.com/ and it works but on preg_match_all (PHP) - didn't workThanks
 
Back
Top