regex - escape the word in regexp -
i have string this
$str = '"filename","lf","$data","{ }",0';
how remove "
string? tried use kind of regexp:
$str =~ s/"(.+?)"//s;
it should match word , remove "
-s
you can $string =~ s/\"//g;
i have string this
$str = '"filename","lf","$data","{ }",0';
how remove "
string? tried use kind of regexp:
$str =~ s/"(.+?)"//s;
it should match word , remove "
-s
you can $string =~ s/\"//g;
Comments
Post a Comment