I just want to remove double quotes(") of a string "dropDownStorePrepare(this,\'hello\')".
Tried this way but not working.
#!/usr/bin/perl
use strict;
use warnings;
my $str = '"store":"dropDownStorePrepare(this,\'hello\')","name":"Rama Rao"';
$str =~ s/"dropDownStorePrepare(.*)"/dropDownStorePrepare$1/ig;
print $str;
Double quotes which are at the beginning and ending of the dropDownStorePrepare(,,,) should be removed and rest of the double quotes should be remained.
Note: dropDownStorePrepare function should accept any no of parameters.
Can somebody help me please..