Hey calebcall I think you have not tried with the last match you have mentioned.
my $string = q/hi it's mine test ' correct/; print $string if $string =~ s#\'#is#g;
Thanks, Mano
In reply to Re: Escaping single quote in $string
by manorhce
in thread Escaping single quote in $string
by calebcall
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |