in reply to regular expression

You need the s modifier, i.e. /.../s, so that '.' in your regular expression also matches \n

Replies are listed 'Best First'.
Re^2: regular expression
by cburger (Acolyte) on Jan 26, 2011 at 00:57 UTC

    thanks jethro it works now!