in reply to Regular expression to match text between two tags (was: Help!! Regular Expressions)

Hmm what do you get with your regexp ?
I guess only the first row ?
Is the text in a file ?
If so, try to set $/=undef:
$/=undef; $t=<FILEHANDLE>; $t =~ s/^:::(.*):::/$1/; print $t;
This should work, if your memory if big enough to read the whole file in one $t.
----------------------------------- --the good, the bad and the physi-- -----------------------------------