- or download this
my ($find, $replace) = @_;
my $content =~ s{$find}{$replace}s;
- or download this
$content =~ s/(^.*SignDataType="osv">).*((?=<\/FormSignData>).*$)/$1
+XXX$2/s;
- or download this
my $find = "(^.*SignDataType=\"osv\">).*((?=<\\/FormSignData>).*\$)
+";
my $replace = "\$1xxx\$2";
patch($find, $replace);
- or download this
$1xxx$2