Re: ereg
| From: | _lallous | Date: | Mon, 01 Oct 2001 08:35:19 +0000 |
| Subject: | Re: ereg | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69421@lists.php.net to get a copy of this message | ||
(5\.[5-9])|([6-9]\.[0-9])
this regular expression will only match numbers above or equal 5.5
"Matthew Delmarter" <matt@adplusonline.com> wrote in message
news:NDBBKBIHLCDMDICHLDKGEEEACHAA.matt@adplusonline.com...
> How do I use ereg to check for MSIE 5.5 and above.
>
> eg: eregi("(MSIE.[56])",$HTTP_USER_AGENT)
>
> This only gets version 5 and 6 ... but I want 5.5 and above. Any
> ideas?
>
> Regards,
>
> Matthew Delmarter
>