in reply to Regular expression to match text between two tags (was: Help!! Regular Expressions)
This should work, if your memory if big enough to read the whole file in one $t.$/=undef; $t=<FILEHANDLE>; $t =~ s/^:::(.*):::/$1/; print $t;
----------------------------------- --the good, the bad and the physi-- -----------------------------------
|
|---|