The OP has )\n( as the substition. I can't see how to enter that with my $subst = <STDIN>; poj
In reply to Re^2: Regex stored in a scalar by poj in thread Regex stored in a scalar by OtakuGenX