#!/usr/bin/perl$str = "'string; 'inside' another;"; $str =~ s/^'|'?;?$//g;print $str;
Standard input is empty
string; 'inside' another
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!