in reply to RegEx, $1, problem

Change \w|\.+ to (?:\w|\.)+. You're currently matching single letter filenames and filenames consiting of multiple '.' followed by 'zip' because the + binds very tightly.

You do need to parens around what you you want in $1: /<b>((?:\w|\.)+\.zip)<\/b>/;

Replies are listed 'Best First'.
Re^2: RegEx, $1, problem
by Anonymous Monk on Oct 28, 2004 at 14:55 UTC
    This fixed it. Thanks.