It seems good to me except there is an unbalanced '('...
-elias
http://www.kameelah.org/eassoft
""Jason Caldwell"" <[EMAIL PROTECTED]> wrote in message
9boi65$ipb$[EMAIL PROTECTED]">news:9boi65$ipb$[EMAIL PROTECTED]...
> I'm looking to compare if my array values match any digits or alpha
> characters with a dot between them... so, if I think I understand Regular
> Expressions (from what I could gather from PHP.net and Core PHP
Programming
> by Leon Atkinson.)
>
> I want to match any of the following:
>
> 1.1 or a.a
>
> or . or .<-- any number of digits (0-9) or alpha (a-z)
> on either side of the dot.
>
> if(eregi("^([0-9][a-z]\.[0-9][a-z]", $myArray[x]))
>
> Is this correct? I think I'm missing something.
>
> Thanks.
> Jason
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]