my $string = "12\n34"; $string =~ s/.*/go/gs; [download]
In reply to Regex Pop Quiz with .*, /g, and /s by saintmike