in reply to extracting a substring?

try this(I'm assuming that the x's represent digits):

$string =~ m/(alt=\"Version \d.\d\d\")/; $substring = $1;

Replies are listed 'Best First'.
Re: Re: extracting a substring?
by dmouille (Novice) on Jan 17, 2002 at 00:37 UTC
    Actually, that first line should be:

    $string =~ m/(alt=\"Version \d\.\d\d\")/;