Wiggins D'Anconia wrote:
> [EMAIL PROTECTED] wrote:
> > How can I grabb the browser name Opera and the version number from a string,
> > when it's very important that I get the whole version number. For example:
> >
> > Windows XP) Opera 6.05 [en]
> >
> > or
> >
> > MSIE 6.0; MSIE 5.5; Windows NT
[EMAIL PROTECTED] wrote:
How can I grabb the browser name Opera and the version number from a string,
when it's very important that I get the whole version number. For example:
Windows XP) Opera 6.05 [en]
or
MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]
Can anyone show me the best way to
[EMAIL PROTECTED] wrote:
> How can I grabb the browser name Opera and the version number from a string,
> when it's very important that I get the whole version number. For example:
>
> Windows XP) Opera 6.05 [en]
>
> or
>
> MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]
>
> Can anyone show me
[EMAIL PROTECTED] wrote:
>
> In a message dated 3/29/03 7:16:57 AM Eastern Standard Time,
> [EMAIL PROTECTED] writes:
>
> > > This returns 4. I need the Opera 7.0 to be in $browser.
> >
> > my $string = 'Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT
> > 5.1) Opera 7.0 [en]';
> >
> > my
In a message dated 3/29/03 7:16:57 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
> > This returns 4. I need the Opera 7.0 to be in $browser.
>
> my $string = 'Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT
> 5.1) Opera 7.0 [en]';
>
> my ($browser) = $string =~ /(\w+\s*[\d.