Help for this page
Select Code to Download
Select
or
download this
$count += () = $teststring =~ /(test)/g;
Select
or
download this
@matches = $teststring =~ /(test)/g;
Select
or
download this
$count += @matches;